Google introduced a new way for publishing apps on Google play store. An AAB (Android App Bundle) is a new upload format that contains your app's compiled code and resources. The bundle is entirely different from APK. You can not run the .aab file directly from any Android device. It's a play store compatible file format for binding the resources and compiled codes.
In this tutorial, we are going to bundle an app with a new publishing format aab.
Create an android project, Hello world app is enough for this lesson.
Step 1: Create a simple project, HelloWorld
Step 2: Choose target Android Devices , and hit Next
Choose Empty Activity from 'Create New Project'
Go to Build menu , Select 'Generate Signed Bundle / APK'
Next you have to choose the Android App Bundle radio button. (Default is AAB) Hit next.
Check the 'Export encrypted key' and click the next button.
If you preparing for upload to play store, select release from Build Type. Finally click finish.
It will generate a signed bundle for uploading to play store. click locate link from Event log.
Learn to Generate Android App bundle in Android Studio[Pictures]
Reviewed by Nikin
on
04 January
Rating: