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

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

    I get stuck with the same problem. Finally i managed to resolve the issue after two hours. To make it simple and resolve the issue in 5 minutes i listed the steps below

    Step 1 - In Eclipse update your Android Maven Plugin to 0.4.3.2013 using the beta release link http://rgladwell.github.io/m2e-android/updates/master/

    Step 2

         
            com.jayway.maven.plugins.android.generation2
            android-maven-plugin 
            3.6.1
            
                
                    17
                 
            
        
    

    It will solve the following issues

    "No Android Platform Version/API Level has been configured"

    Could not find tool 'aapt'

    Hope it helps

提交回复
热议问题