Build 32+64 bit APK using Qt Creator?
-
As of Aug 2019 Google Play Store requires the APK files to contain both a 32bit and 64bit version.
As far as I can tell, Qt Creator can only build APK's for a single target, so either ARM 32 (v7) or 64bit (v8), not both.
Hopefully I'm wrong here and someone can point to me an example :)
If not, does anyone know it this will be added to Qt Creator.According to this article: https://developer.android.com/distribute/best-practices/develop/64-bit
For Android Studio it's just a matter of adding the additional platforms to ndk.abiFilters. However, that whole section isn't used by the Qt Creator's Gradle configuration.Without this functionality it will be impossible to publish APKs created with Qt Creator for 32 bit devices.
What options do we have?
Can we export the Qt-project so that we can build with Android Studio, similar to XCode? -
Hi and welcome to devnet,
That's a question better asked on the Qt Creator mailing list. You'll find there Qt Creator's developers/maintainers. This forum is more user oriented.
-
+1 i haven't found an approach to this topic yet either
-
You can build 32 bit and 64 bit separately and upload both to Play Store. It's fully supported and your users won't have to download APK that's 2x bigger.
-
You can build 32 bit and 64 bit separately and upload both to Play Store. It's fully supported and your users won't have to download APK that's 2x bigger.
-
The APK file is a ZIP
Through QtCreator it is necessary to create both signed 32 and 64 bit versions.
unzip both files and move the lib/arm64-v8a folder to the 32-bit folder.
recreate the apk file using the zip command
run zipalign and apksigner to create the APK file to send to Google Play Store -
thanks
but how to upload each file to play store? There is no separate place to upload@mmjvox said in Build 32+64 bit APK using Qt Creator?:
thanks
but how to upload each file to play store? There is no separate place to uploadYou just upload it the normal way.
Here is some more info: https://stackoverflow.com/questions/42049253/publish-multiple-apks-to-google-play-store and https://developer.android.com/google/play/publishing/multiple-apks.html#Rules
-
The APK file is a ZIP
Through QtCreator it is necessary to create both signed 32 and 64 bit versions.
unzip both files and move the lib/arm64-v8a folder to the 32-bit folder.
recreate the apk file using the zip command
run zipalign and apksigner to create the APK file to send to Google Play Store -
@mmjvox said in Build 32+64 bit APK using Qt Creator?:
thanks
but how to upload each file to play store? There is no separate place to uploadYou just upload it the normal way.
Here is some more info: https://stackoverflow.com/questions/42049253/publish-multiple-apks-to-google-play-store and https://developer.android.com/google/play/publishing/multiple-apks.html#Rules