阅读背景:

解决android开发环境 android-maven-plugin,generate-sources failed: Could not find tool 'aapt'异常

来源:互联网 
经常在导入一些maven项目时报
Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.1:generate-sources (default-generate-sources) on project OnSpotApk: Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.1:generate-sources failed: Could not find tool 'aapt'. Please provide a proper Android SDK directory path as configuration parameter <sdk><path>...</path></sdk> in the plugin <configuration/>. As an alternative, you may add the parameter to commandline: -Dandroid.sdk.path=... or set environment variable ANDROID_HOME. -> [Help 1]Failed to execute goal com.j



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: