Native libraries not found in ApplicationInfo.nativeLibraryDir when building app bundle for arm64 Android phone

By default, APKs generated from the Android App Bundle have the native libraries uncompressed on devices with Android M / API level 23 or higher (source). Not only does that often reduce the download size but that also considerably reduce the size of the app on devices since the Android platform can directly read the … Read more

Android App Bundle with in-app locale change

Edit: The PlayCore API now supports downloading the strings for another language on-demand: https://developer.android.com/guide/playcore/feature-delivery/on-demand#lang_resources Alternative solution (discouraged): You can disable the splitting by language by adding the following configuration in your build.gradle android { bundle { language { // Specifies that the app bundle should not support // configuration APKs for language resources. These // … Read more

Generate Apk file from aab file (android app bundle)

So far nobody has provided the solution to get the APK from an AAB. This solution will generate a universal binary as an apk. Add –mode=universal to your bundletool command (if you need a signed app, use the –ks parameters as required). bundletool build-apks –bundle=/MyApp/my_app.aab –output=/MyApp/my_app.apks –mode=universal MAIN STEP: Change the output file name from … Read more