Android APK path is not specified for module

Sergey Shustikov picture Sergey Shustikov · Jan 22, 2014 · Viewed 35k times · Source

I have a problem. When i try to launch my project i've got error :

"ERROR: APK path is not specified for module"  

I follow to this answer APK path is not specified for module "Example-Example" but that no give me result. Any more ideas?

Answer

Sergey Shustikov picture Sergey Shustikov · Jan 22, 2014

Finally I founded a solution.

  1. Open Project structure
  2. Click on Modules tab
  3. Expand your project and click on Android
  4. On right side click on Packaging tab (Compiler on older versions of Android Studio)
  5. Looking for "APK path" field
  6. Click on ... and choose your project root folder(that contains bin/,gen/,res/ folders
  7. Copy path into your clipboard
  8. Close choose path dialog
  9. Paste copied path into APK path field.
  10. Add to path text \bin
  11. Click Apply and Ok

In the end you must have a path :

D:\<path to your project root>\bin

Try to build your project.

may be it helps for someone ...

Note : For Android Studio use this answer.