What is Android App Bundle?
Android App bundle is the new publishing format to upload the application on the Google Play Store.
It reduces the size of the build and increases the no of the download of the build.
Why should we use this new format?
App Bundles sees 35% size savings
No Need for Mutli-APK
Android Studio 3.2 brought full IDE support of app bundles
App sizes have grown dramatically, up 5x since 2012
How to register the App Bundle with Google Play App Signing:
Export and upload a key from a Java Keystore
1.Encription of your Original App Signing Key:
Download The Pepk(Play Encrypt Private Key) tool
C:\Program Files\Android\Android Studio\jre\bin>java -jar “C:\Users\sudhanshuj\Downloads\pepk.jar” — keystore=”D:\sudhanshu Jha\workspace\your_keystore.jks” — alias=your — output=”D:\sudhanshu Jha\workspace\AppDocuments\encrypted_private_key.pem” — encryptionkey=eb10fe8f7c7c9df715022017b00c6471f8ba8170b13049a11e6c09ffe3056a104a3bbe4ac5a955f4ba4fe93fc8cef27558a3eb9d2a529a2092761fb833b656cd48b9de6a
Enter password for store ‘your_keystore.jks’:
Enter password for key ‘’:
2. Generation of new Upload Key- here creates a new JKS File.
3.Certificate Generation For the Upload Key:
Upload the certificate of your upload key to register it with Google.
C:\Program Files\Android\Android Studio\jre\bin>keytool -export -rfc -keystore “D:\sudhanshu Jha\workspace\AppDocuments\Update_Your_Keystore.jks” -alias your-file “D:\sudhanshu Jha\workspace\AppDocuments\upload_key_public_certificate.pem”
Enter keystore password:
Certificate stored in file <D:\sudhanshu Jha\workspace\AppDocuments\upload_key_public_certificate.pem>
C:\Program Files\Android\Android Studio\jre\bin>
//Generate new upload key
keytool -genkey -v -keystore my-upload-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias