Reputation: 523
When building a Qt application on android, you have to choose whether you want to use ARM abi or x86 abi. Is it possible to create an APK compatible with both ABIs, and how ?
If I'm correct, the APK built by Qt Creator has a subfolder libs/ containing all the shared libraries required by the JNI. Depending on what you build, libs/ contains either "armeabi-v7a" or "x86" subfolder with the correct files. How can I have an APK containing both subfolders, such that all Android devices can run the APK ? I tried by modifiying the APK myself (since it's a plain .zip), but it messed up signatures etc.
Or am I doomed to publish to Google Play with two APKs ?
Upvotes: 3
Views: 735
Reputation: 418
I have found a solution that work (at lest for me).
The whole process can be programmed in a cmd or bat file.
Upvotes: 3