美文网首页
ERROR: Failed to install the fol

ERROR: Failed to install the fol

作者: 奔跑的痕迹 | 来源:发表于2020-03-30 15:31 被阅读0次
android studio 配置sdk时提示如下错误
image

麻麻蛋~

根据accepted 了解到是安装android-26时未被允许;于是执行如下步骤

1、cd 到sdk目录

D:\develop\Android>cd sdk

2、再到tools目录

D:\develop\Android\sdk>cd tools

3、再到bin 目录

D:\develop\Android\sdk\tools>cd bin

4、最后执行sdkmanager --licenses

D:\develop\Android\sdk\tools\bin>sdkmanager --licenses

5、最后会有一大波提示(y/n)

Review licenses that have not been accepted (y/N)? y

1/6: License android-googletv-license:
---------------------------------------
Terms and Conditions

6、全部y执行到底,完成后重新刷新android studio 配置即ok

image

相关文章

网友评论

      本文标题:ERROR: Failed to install the fol

      本文链接:https://www.haomeiwen.com/subject/ssevuhtx.html