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

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

    The correct solution is documented in the changelog for version 3.6.0

    Just add the sdk platform configuration to the Android Maven Plugin like so

    
       
        17
       
    
    

提交回复
热议问题