Step-by-Step Guide: How to Get an APK From Android Studio

Joe Jun 18, 2026

Extracting an APK directly from Android Studio is a fundamental skill for any developer, whether you are preparing for internal testing, deploying to a staging environment, or simply archiving your work. While the Android Studio IDE provides a streamlined graphical interface for building and running applications, understanding the underlying process of locating the generated APK file is crucial for efficiency and debugging. This guide walks you through the standard and alternative methods to find your compiled Android application package.

التعرّف على \
التعرّف على \

Locating the Default Output Directory

How to Create an Android App With Android Studio
How to Create an Android App With Android Studio

When you build a project in Android Studio, the IDE automatically compiles your code and resources into an APK file, storing it in a specific location within your project's file structure. By default, this file is generated every time you run or build your application, ensuring you always have the latest version available for deployment. You do not necessarily need to navigate manually if you use the run button, but knowing where the file lives is essential for retrieving it later.

The "Build" Folder

Hello World in Android development: Your first ever (really easy) app project
Hello World in Android development: Your first ever (really easy) app project

The most consistent place to find your APK is within the app module of your project. Navigate to your project directory and look for the app/build/outputs/apk folder. Inside, you will typically find a debug folder containing your debug APK, which is the version created when you run the application for testing purposes during development.

  • Open your project file explorer within Android Studio.
  • Locate the app module.
  • Drill down into build -> outputs -> apk.
  • You will see the debug APK file, usually named app-debug.apk.
The Beginner's Guide to Android Studio - Make Tech Easier
The Beginner's Guide to Android Studio - Make Tech Easier

Using the Build Menu for Instant Access

If you want to retrieve the APK without diving into the file system, Android Studio offers a direct method through the top menu bar. This approach is particularly useful immediately after building the project, as it provides a quick shortcut to the location of the file on your disk.

The "Reveal in Finder/Explorer" Option

💡Don't know how to create an emulator for Android Studio?👨‍💻
💡Don't know how to create an emulator for Android Studio?👨‍💻

After a successful build, you can instruct Android Studio to show you the file immediately. To do this, locate the Build menu at the top of your screen. While your project is selected, click on Build and look for options like Select Build Directory or Reveal in Finder (macOS) / Show in Explorer (Windows). This action instantly opens the exact folder containing your APK, saving you time.

Generating a Signed APK for Production

For releasing your application on the Google Play Store or distributing it to testers, you must generate a signed APK or Android App Bundle (AAB) rather than using the debug variant. Android Studio provides a dedicated wizard to guide you through this process, ensuring the correct keys and configurations are applied.

A guide to Android app development for complete beginners in 5 easy steps
A guide to Android app development for complete beginners in 5 easy steps

To initiate this process, navigate to the top menu and select Build. From the dropdown menu, choose Generate Signed Bundle or APK. Follow the prompts to create or select a keystore, define your package name, and specify the destination where the final signed file should be saved. This generated file is the secure artifact required for official distribution.

Alternative: The Gradle Console Method

How to Install Android Studio on Windows 10
How to Install Android Studio on Windows 10
How To Make Your Own App And Earn Money - No Coding Required!
How To Make Your Own App And Earn Money - No Coding Required!
How to install Android Studio and SDK on Windows 11/10
How to install Android Studio and SDK on Windows 11/10
Easily Build Android Apps in Minutes with Simple Prompts | Google AI Studio Guide 2026.
Easily Build Android Apps in Minutes with Simple Prompts | Google AI Studio Guide 2026.
How to Create an Android App: Everything You Need to Know
How to Create an Android App: Everything You Need to Know
Downloading and Using Android Studio With Kotlin
Downloading and Using Android Studio With Kotlin
How to build a android app for begginers (Easy)
How to build a android app for begginers (Easy)
Let's build a simple notepad app for Android
Let's build a simple notepad app for Android
Android Studio Not Working on Windows? Here’s How to Fix It
Android Studio Not Working on Windows? Here’s How to Fix It
How to install an APK on Android without Google Play Store
How to install an APK on Android without Google Play Store
How to Install Apps from Unknown Sources on Android - Make Tech Easier
How to Install Apps from Unknown Sources on Android - Make Tech Easier
What is an APK file? How can I install one?
What is an APK file? How can I install one?
I will do android projects and tasks in android studio
I will do android projects and tasks in android studio
Android Eclipse Tutorial  Building an App From Scratch
Android Eclipse Tutorial Building an App From Scratch
Android Studio: Your All-in-One Tool for Android App Development
Android Studio: Your All-in-One Tool for Android App Development
How to make and share your own custom icon packs
How to make and share your own custom icon packs
the best open source android apps
the best open source android apps
How to Make an App: A Complete Beginner's Guide (2026)
How to Make an App: A Complete Beginner's Guide (2026)
How To Install APK On Android
How To Install APK On Android
Easiest Way to Download and Install Android Studio 2025
Easiest Way to Download and Install Android Studio 2025

For developers who prefer working with the terminal or need to automate builds, the Gradle wrapper provides a command-line interface to build the APK. You can trigger this process directly from the Android Studio bottom panel, which houses the Gradle tool window. This method is often faster and provides more granular control over the build types and flavors.

Within the Gradle panel, expand the Tasks section, then android, and double-click on assembleDebug or assembleRelease. Once the process completes, you can click on the linked output file path that appears in the console log. This link acts as a shortcut, directing you straight to the newly created APK in your file system.

Troubleshooting Missing APKs

If you are unable to locate the APK using the methods above, it usually indicates a build configuration issue or a problem with the project setup. Ensuring your build.gradle (Module) file is correctly configured is vital, as this file dictates where outputs are sent and the structure of the final package.

First, verify that the applicationId matches your expectations. Next, check the build.gradle file for any custom outputDirectory settings that might redirect the APK to a non-standard location. Cleaning the project via Build -> Clean Project followed by a rebuild can also resolve scenarios where old or corrupted files prevent the new APK from generating correctly.