maven android plugin:No Android SDK path could be found

后端 未结 4 741
臣服心动
臣服心动 2021-02-08 05:58

I use the maven-android-plugin version 3.3.2. When I try to build my android project I have the following exception:

org.apache.maven.p

4条回答
  •  我在风中等你
    2021-02-08 06:01

    Yes i solved this issue.By adding settings.xml file in ~/.m2 folder

    
    
        
            
                android
                
                    
                      ANDROID SDK PATH
                    
                
            
        
         
            android
         
    
    

    and open your android-bootstrap-master app and open pom.xml file and check the following line

    
        16
    
    

    16 is the currently installed or not sdk level

提交回复
热议问题