Android APK path is not specified for module

后端 未结 5 2418
灰色年华
灰色年华 2021-01-31 21:18

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 A

5条回答
  •  庸人自扰
    2021-01-31 21:46

    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:\\bin

    Try to build your project.

    may be it helps for someone ...

    Note : For Android Studio use this answer.

提交回复
热议问题