Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.15.1
-
None
Description
With otherwise working Android CMake project, QtCreator is unable sign the app due to invalid path to build-tools.
zipalign tool not found: C:/Android/Sdk/build-tools//zipalign.exe
The problem is the missing build-tools version number, e.g. 29.0.2, in the path.
I've analyzed the problem to be in Qt5AndroidSupport.cmake and the generated android_deployment_settings.json file, which lacks "sdkBuildToolsRevision" that androiddeployqt.exe expects to be present.
When I hard code this to Qt5AndroidSupport.cmake, it starts to work:
@QT_QML_IMPORT_PATH@
"sdkBuildToolsRevision": "29.0.2",
"ndk": "@ANDROID_NDK@",
Attachments
Issue Links
- duplicates
-
QTBUG-84302 No sdkBuildToolsRevision in deployment JSON
-
- Closed
-