Important: Please read the Qt Code of Conduct -

How to deploy all native libs (armv7,aarch64,x86) in an APK bundle?

  • Hi
    google suggests to create an apk file that contains all of needed native libs (.so libs) in that one apk file for goal architectures
    ==> Google Play Ensure that your app supports 64-bit devices

    in android studio, it is said that this problem can be solved with add this line
    " ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64' "
    to build.gradle file
    but in qt when i added this line, it had no result and the libs folder in apk file conains only one of the architectures that named on qt build kit

    now i want to know, how can i create an apk file contains both armv7 and aarch64 ??

    If it is not possible, How can i upload each architecture for compatible devices?

  • @mmjvox

    Hi and welcome to devnet forum

    There is another thread about generation of 32- and 64-bit APKs in parallel
    Basically you shall have two different toolchains there. One for 32-bit and one for 64-bit Android applications. When you create the APK-bundle through the respective toolchain all shold be automatic.

Log in to reply