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

前端 未结 6 538
春和景丽
春和景丽 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:11

    If you are using android version 17, you might want to try this documented workaround (i.e. I did not find it myself).

    cd /platform-tools
    ln -s ../build-tools/17.0.0/aapt aapt
    ln -s ../build-tools/17.0.0/lib lib
    

提交回复
热议问题