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
Attachments
For Gerrit Dashboard: QTBUG-94956 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
584907,4 | Filter the Android SDK build tools directories | dev | qt/qtbase | Status: MERGED | +2 | 0 |
585920,2 | Filter the Android SDK build tools directories | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
586386,2 | Filter the Android SDK build tools directories | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
587211,2 | Filter the Android SDK build tools directories | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
587241,2 | Filter the Android SDK build tools directories | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |