Android Maven Could not find tool 'aapt'

后端 未结 6 1311
青春惊慌失措
青春惊慌失措 2020-12-12 15:34

i was trying to follow this tutorial:

http://www.gdgankara.org/2012/11/01/step-by-step-android-development-with-maven/

but after setting up the environment,

6条回答
  •  长情又很酷
    2020-12-12 16:13

    I too had similar problems.

    Solved by following steps :

    1) Upgrade maven to 3.1.1 2) Use android-maven-plugin 3.6.1 pr greater [I used 3.8.0] 3) Use maven-dependency-plugin 2.8

    If you want to build against latest Android SDK [ex : 4.3], follow following additional steps - 4) Install the local copy of android.jar using command mvn install:installFile .. 5) Set 18

    Hope this helps.

提交回复
热议问题