android maven plugin does not get ANDROID_HOME env variable in Eclipse

前端 未结 9 2180
[愿得一人]
[愿得一人] 2021-02-20 11:23

i\'m working on an Android app project and it is a Maven project. when i try to run as \"maven install\" this is what i get:

\"Failed to execute goal com.jayway.maven.pl

9条回答
  •  臣服心动
    2021-02-20 12:09

    Create a file called local.properties in your root directory of your project.

    With the contents;

    sdk.dir=c:\\path\\to\\android-sdk
    

提交回复
热议问题