Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10, 5.11, 5.12, 5.15.10, 6.5, 6.8, 6.9
-
-
2023wk12FOQtforAndroid, 2023wk14FOQtforAndroid, 2023wk16FOQtforAndroid, 2023wk18FOQtforAndroid, 2024wk4Xs3FOQtforAndroid
Description
Consider the following productFlavors in build.gradle:
flavorDimensions "abi" productFlavors { armv7 { dimension "abi" versionCode versionProps['VERSION_CODE'].toInteger() * 100 + 7 } armv8 { dimension "abi" versionCode versionProps['VERSION_CODE'].toInteger() * 100 + 8 } }
The generated apks have the following name format:
android-build/build/outputs/apk/armv8/android-build-armv8-release-unsigned.apk
android-build/build/outputs/apk/armv7/android-build-armv7-release-unsigned.apk
androiddeployqt tool expects apk with name android-build-release-unsigned.apk
The same happens if to use splits:
splits { abi { enable true; reset(); include "armeabi-v7a"; universalApk false; } }
I think it should be good if androiddeployqt tool respects productFlavors, so that zipalign tool would be able to proceed
Attachments
Issue Links
- is required for
-
QTBUG-86887 Allow setting custom name for an Android apk
- Reported
- relates to
-
QTBUG-123858 androiddeployqt does not consider split APKs and cannot sign them
- Reported
- resulted in
-
QTCREATORBUG-28972 Make Qt Creator respect Gradle's product flavors names
- Reported