If you created your project with Android Studio you just have to compile it, and an APK file is automatically generated in
If you moved a project from a different IDE to Android Studio, this is more tricky because the APK file will not be in your apk folder. In this case, I would recommend you to just recompile it in Android Studio. There are many ways how to do this, but in this post I will describe the probably most commen way, the build with Gradle.
Build unsigned APK with Gradle
Nowadays one of the easiest way is to build your APK file with Gradle. There are a few steps you have to do:
- Go to Edit – Configurations
- Click “add” symbol
- Select Gradle
- Choose your module as Grade project
- Add the command
- Recompile your Project
Find the APK file without recompileling
If, for any reason, you don’t want to recompile your Project and just want to find your APK fils that is already generated, the location of the file depends on from what IDE you moved your project.
Moved project from Eclipse to Android Studio
If the project was created with Eclipse, you will find the unsigned APK file in ProjectName/bin
Moved project from IntelliJ
If the project was created with IntelliJ, you will find the unsigned APK file in ProjectName/out/production/
If there are any questions left, feel free and comment this Stackoverflow Question.