Tutorials App Builder App publishing

What Is an APK File? APK vs AAB Explained

Android phone showing an example APK file in its file manager

An APK is an Android application package. It’s a file that Android uses to install an app. An APK contains the app’s compiled code, images, and other resources, along with information Android needs to identify and install it. These files end in .apk.

If you’ve built an Android app and want to test it on your phone, download the APK. If you’re submitting a new app to Google Play, you’ll need an Android App Bundle, or AAB.

What’s inside an APK file?

An APK packages the files that Android needs to install and run an app. It typically includes:

  • Compiled code that runs when you open the app.
  • Resources and assets such as icons, images, translations, and any bundled files.
  • A manifest that identifies the app and declares its components and requested permissions.
  • A digital signature that Android verifies during installation and uses to check whether a new version can update the installed app.

The source code is the project a developer works on before building the app. The APK is the packaged result of that build. Opening an APK lets you inspect some of the files that shipped with the app. To edit and rebuild it, you generally need the original project.

What is an APK used for?

An APK lets you install an Android app directly on a compatible phone or tablet. Developers use APKs to check how an app behaves on a real device before release or to give a test build to a small group. This kind of installation outside an app store is often called sideloading.

For example, if you built a trip expense calculator, you could install its APK, add an expense, and check whether the app recalculates what each traveler owes. If your app is already built, follow our guide to download and install your AppsGeyser APK.

Android may ask you to allow installation from the browser or file manager you used to open the APK. Only install APKs you built yourself or received from a source you trust.

APK vs AAB: What’s the difference?

AAB stands for Android App Bundle. It’s a publishing format that contains the compiled code and resources for an Android app. For new apps on Google Play, you upload an AAB. Google Play then uses the bundle to generate the appropriate APKs for users’ devices.

FormatWhen to use itWhat to do with it
APK (.apk)You want to install and test a build directly on Android.Open a compatible APK on your Android device.
AAB (.aab)You’re submitting a new app to Google Play.Upload the AAB to Play Console. Google Play generates the APKs it delivers to users.

If you’re ready to submit your app, follow our step-by-step guide to publishing an app on Google Play.

Frequently asked questions

Is an APK the same as an Android app?

The APK is the installation file. After Android installs it, you open the app from your home screen or app drawer.

Can I install an AAB directly on my Android phone?

An AAB needs to be processed into APKs before installation. For a direct test on your phone, download the APK version of your build.

Can I open an APK on an iPhone?

An APK installs on Android. To run the same app on an iPhone, you need an iOS version.