Search code examples
androidqtapk64-bit

Android-Reduce APK size, separate APKs for different architectures


I am using native libraries in my Android application. Recently, I got a notification from Google to conform to the new requirement asking to provide support for 64bit architecture as well. My current architecture is armeabi-v7a and I have built my libraries for arm64-v8a and packaged them inside my APK under "libs" folder. Google Play is accepting my APK but packaging everything into one APK has almost doubled the size of my APK. I was just wondering if I build separate APKs for each architecture and publish them to Google Play will it work? I mean users with 64-bit devices get 64-bit APK and those with 32 bit get the other one?


Solution

  • Looks like you have to use app bundle