Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android APK path is not specified for module

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?

like image 896
Sergey Shustikov Avatar asked Jan 22 '14 11:01

Sergey Shustikov


1 Answers

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.

like image 130
Sergey Shustikov Avatar answered Sep 19 '22 01:09

Sergey Shustikov