发新帖

Gradle提示,You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tools 24.0.2]

zhujun 3月前 83

问题解决

license存放在$ANDROID_HOME/licenses下

创建license

Linux

mkdir  "$ANDROID_HOME/licenses"
echo  -e  "\n8933bad161af4178b1185d1a37fbf41ea5269c55"  >  "$ANDROID_HOME/licenses/android-sdk-license"

Windows

mkdir  "%ANDROID_HOME%\licenses"
echo  |set  /p="8933bad161af4178b1185d1a37fbf41ea5269c55"  >  "%ANDROID_HOME%\licenses\android-sdk-license"

最新回复 (0)
返回
发新帖
zhujun
主题数
24
帖子数
2
注册排名
1