APK: the installable app
An APK (Android Package) is the file Android installs. It contains everything for every kind of phone: all screen densities, all processor types, all languages. You can send it to a friend, install it on your own phone, or share it outside the Play Store.
AAB: the upload format for Google Play
An AAB (Android App Bundle) is a publishing format. You upload it to Google Play, and Play builds smaller, optimized APKs for each device. A phone with an English-language setting and a high-resolution screen only downloads what it needs.
Since August 2021, new apps on Google Play must be uploaded as AAB. You can’t install an AAB on a phone directly.
How signing works
Both files are signed, but the keys work differently with an AAB:
- Upload key: you sign the AAB with it. Google checks it to confirm the upload came from you.
- App signing key: Google holds it (Play App Signing) and uses it to sign the APKs it delivers to phones.
Keep your upload key and its password somewhere safe. If you lose it, you can ask Google to reset it, but it takes time.
Which one do you need?
- Publishing on Google Play: AAB.
- Testing on your own phone or sharing directly: APK.
- Other stores: check their rules; many still take APK.
Questions
- Can I install an AAB file on my phone?
- Not directly. An AAB is a publishing format for Google Play. To install on a phone, use an APK.
- Does Google Play still accept APK files?
- Not for new apps. Since August 2021 new apps must be uploaded as an Android App Bundle.
- Is an AAB smaller than an APK?
- The download users get is usually smaller, because Google Play builds an APK with only the code and resources each device needs.
Build your Android app with gogolister
Describe it in one sentence and get a native Kotlin app, signed and tested. Then publish it to Google Play with the Chrome extension.
Start building