Android APK path is not specified for module

后端 未结 5 2470
灰色年华
灰色年华 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:43

    Another reason could be that the Output Directory is not set to a valid directory. Note that relative paths are not supported, at least in IntelliJ 14.

    Project Structure (Cmd-;) > Modules > Paths:

    enter image description here

    Set Compiler output to "Use module compile output path", then choose/create the desired output directory for the APK.

提交回复
热议问题