If you created your project with Android Studio you just have to compile it, and an APK file is automatically generated in ProjectName/ProjectName/build/apk/

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:

  1. Go to Edit – Configurations
  2. Click “add” symbol
  3. Select Gradle
  4. Choose your module as Grade project
  5. Add the command assemble to Tasks
  6. Recompile your Project

Continue reading