website
Using detailed
Download bundletool
-
Package aAB files through Studio
-
Put aAB files in the same directory as Bundletool
-
Run the command to package aAB into APKS
Jar build-apks --bundle=xxx.apks --output=xxx.apks --ks=xxx.jks --ks-pass=pass: XXX --ks-key-alias=xxx --key-pass=pass:xxx
- Install to your own device, AAPKS command
Jar install-apks --apks=release.apks
The attached:
-
If the message “The APK you uploaded was not Zipalign processed, please run the Zipalign tool on the APK and re-upload” is displayed on Google. To sort apks, run zipalign -v 4 source.apks androidres.apsk
-
To upgrade the API 30
-
When compiling Android App Bundles, the APK generated by App bundles targeting Android 6.0 (API level 23) or higher now contains an uncompressed version of the native library by default. This optimization eliminates the need for the device to make a copy of the library, thus reducing the storage footprint of the application. If you want to disable this optimization, add the following to the gradle.properties file:
android.bundle.enableUncompressedNativeLibs=false