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

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

    in your pom.xml file,specify the path to your android sdk

            
                com.jayway.maven.plugins.android.generation2
                android-maven-plugin
                3.5.1
                true
                
                    
                        ${ANDROID_HOME}
                        16
                    
                
            
    

提交回复
热议问题