bundletool (version 1.11) to convert the app bundle files into optimized APKs that can be downloaded and installed across client devices. The size of the APK file that a customer installs is optimized for their device configuration.
You can submit your Android App Bundle files to the Appstore, without the need to create separate APKs. However, app bundle files must meet Amazon Appstore’s submission requirements. For detailed explanations of app requirements, see Understanding Amazon Appstore Submission and Amazon Appstore Presubmission Checklist.
Create app bundles
Before you can submit an app bundle on the Amazon Appstore, you must create an Android App Bundle (AAB) file. For information about configuring app bundle files, see About Android App Bundles in the Android developer documentation.Test app bundles
Before submitting your app, the Amazon Appstore recommends testing your bundle locally by usingbundletool. When you submit an app bundle, Amazon uses a customized bundletool to generate optimized APKs from the bundle. The size of the generated APKs are optimized for each user’s specific device. To test the APKs that Amazon’s customized bundletool generates, you can download and use this bundletool JAR:
You can use this JAR to test the generated APKs on your local system. To generate optimized APKs, use the build-apks command with mode set to persistent, as shown in the following example.
java -jar bundletool.jar to have a command line alias of bundletool. Use the instructions specific to your preferred shell to set up an alias. With the alias set up, the command would look as follows.
bundletool, see the bundletool documentation . After testing your bundle locally, the Appstore recommends you use Live App Testing (LAT) with your app bundle before submitting your app to be published live.
Dynamic modules are merged with the optimized APKs and delivered at install time. You can use LAT to test your apps and understand how the modules are merged.
Submit app bundles
To submit an app bundle in the Developer Console:- From the Developer Console dashboard, select App List.
- Select your app and go to the Release Tracks screen.
- In the App File(s) section, you can upload the app bundle file. Click the box or drag your AAB file to the box to start the upload.

