您现在的位置是:首页 > 文章详情

RN Exception: Before building your project, you need to accept the lic...

日期:2018-05-30点击:584

异常

* What went wrong: A problem occurred configuring project ':app'. > You have not accepted the license agreements of the following SDK components: [Android SDK Platform 23, Android SDK Build-Tools 23.0.1]. Before building your project, you need to accept the license agreements and comp lete the installation of the missing components using the Android Studio SDK Man ager. Alternatively, to learn how to transfer the license agreements from one workstat ion to another, go to http://d.android.com/r/studio-ui/export-licenses.html 
img_fa860e818bfd0a5e0f54625691c1160f.png
异常.png

原因

在ANDROID_HOME路径下找不到文件,此处是与夜神模拟器配合使用,adb也使用的是夜神模拟器中的adb,故因此要在夜神模拟器的bin文件夹下寻找licenses文件,并查找对应文件。

解决办法

在Android Studio或者其他方法安装的SDK目录下,将licenses文件夹复制到夜神模拟器(其它模拟器注意路径即可)的bin文件夹下


img_bda93f60cf95b243572e3ac9f2e6df33.png
licenses.png
原文链接:https://yq.aliyun.com/articles/663317
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章