maven android plugin:No Android SDK path could be found

后端 未结 4 739
臣服心动
臣服心动 2021-02-08 05:58

I use the maven-android-plugin version 3.3.2. When I try to build my android project I have the following exception:

org.apache.maven.p

4条回答
  •  清歌不尽
    2021-02-08 06:20

    The easiest way is to set export ANDROID_HOME=pathToAndroidSdk right from the target deploy repository.

    Variable will be set only for current shell and all processes started from current shell.

提交回复
热议问题