RN Exception: Before building your project, you need to accept the license agreements and comp le...

简介: 异常* What went wrong:A problem occurred configuring project ':app'.> You have not accepted the license agreements of the fol...

异常

* 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
目录
相关文章
|
JSON Java 数据格式
有关Java调用第三方接口【Content-type为form-data】的示例代码
有关Java调用第三方接口【Content-type为form-data】的示例代码
735 0
|
3月前
|
JSON IDE Java
鸿蒙开发:json转对象插件回来了
首先,我重新编译了插件,进行了上传,大家可以下载最新的安装包进行体验了,还是和以前一样,提供了在线版和IDE插件版,两个选择,最新的版本,除了升级了版本,兼容了最新的DevEco Studio ,还做了一层优化,就是针对嵌套对象和属性的生成,使用方式呢,一年前的文章中有过详细的概述,这里呢也简单介绍一下。
127 4
鸿蒙开发:json转对象插件回来了
|
6月前
|
API 数据处理 Android开发
Android网络请求演变:从Retrofit到Flow的转变过程。
通过这个比喻,我们解释了 Android 网络请求从 Retrofit 到 Flow 的转变过程。这不仅是技术升级的体现,更是反映出开发者在面对并发编程问题时,持续探索和迭求更好地解决方案的精神。未来,还会有更多新的技术和工具出现,我们期待一同 witness 这一切的发展。
190 36
|
网络协议 Linux
Linux查看端口监听情况,以及Linux查看某个端口对应的进程号和程序
Linux查看端口监听情况,以及Linux查看某个端口对应的进程号和程序
1167 2
|
安全 生物认证 数据安全/隐私保护
多因素认证(MFA)
【8月更文挑战第20天】
2458 1
|
前端开发 开发者
深入剖析Vite配置文件
深入剖析Vite配置文件
622 0
|
存储
Qt编译出现cc1plus.exe: out of memory allocating 65536 bytes问题
Qt编译出现cc1plus.exe: out of memory allocating 65536 bytes问题
742 0
|
小程序
Proxifier转发Burpsuite联动xray抓微信小程序数据包
Proxifier转发Burpsuite联动xray抓微信小程序数据包
450 0
|
编解码 JavaScript 前端开发
python如何解决js逆向混淆?
python如何解决js逆向混淆?
385 0
|
JavaScript 前端开发
AngularJS ng-if使用方法详解
AngularJS ng-if使用方法详解
258 1