Could not find tool aapt. Please provide proper Android SDK directory path as configuration parameter

前端 未结 6 521
春和景丽
春和景丽 2021-02-01 23:30

I am trying to build a android project using maven. But when I run : mvn clean install I get the following error:

Execution default-generate-sources of goal com.jay

6条回答
  •  北恋
    北恋 (楼主)
    2021-02-02 00:15

    If android sdk version above 21, just add %ANDROID_HOME%/build-tools to to environment variable PATH of your system.

    to "Nemin Shah" -- copy files is not such good idea.

提交回复
热议问题