Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
6.2.0 Alpha
-
None
-
Debian 10 buster AMD64
QtCreator 4.15.1
Android Build Tools 30.0.3
Android SDK 30
Android NDK 21.3.6528147
-
-
58542f9c3 (dev), 8f09ff24c (6.8), 347109752 (6.7), dafd859c0 (tqtc/lts-6.5), b5c6ee9b1 (tqtc/lts-6.2)
-
2024wk34s2FOQtforAndroid
Description
To reproduce:
- Create new Qt Quick Application - Scroll with QtCreator 4.15.1
- Select Android Qt 6.2.0 Clang arm64-v8a kit
- Build
Result:
FAILURE: Build failed with an exception. * Where: Build file '/home/vincas/code/test/build-zipalign_bug-Android_Qt_6_2_0_Clang_arm64_v8a-Debug/android-build/build.gradle' line: 39 * What went wrong: A problem occurred evaluating root project 'android-build'. > Invalid revision: zipalign
If you look into build-zipalign_bug-Android_Qt_6_2_0_Clang_arm64_v8a-Debug/android-zipalign_bug-deployment-settings.json contains "sdkBuildToolsRevision": "zipalign",
Also, build-zipalign_bug-Android_Qt_6_2_0_Clang_arm64_v8a-Debug/android-build/gradle.properties contains androidBuildToolsVersion=zipalign too.
Clicking "Create Templates" and editing android/gradle.properties and adding androidBuildToolsVersion=30.0.3 does not help.
Workaround is to modify build-zipalign_bug-Android_Qt_6_2_0_Clang_arm64_v8a-Debug/android-build/gradle.properties, changing zipaling into build tools you are using, like androidBuildToolsVersion=30.0.3