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
目录
相关文章
|
8月前
QSoundEffect(qaudio): Error decoding source
QSoundEffect(qaudio): Error decoding source
152 0
“Could not find suitable distribution for Requirement.parse(‘XXXX‘)”的问题
“Could not find suitable distribution for Requirement.parse(‘XXXX‘)”的问题
212 0
|
Ubuntu Unix Linux
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
成功解决ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the
|
10月前
UE Operation File [ Read / Write ] DTOperateFile Plug-in Description
UE Operation File [ Read / Write ] DTOperateFile Plug-in Description
42 0
|
10月前
UE DTDataTable Plugin description, operating CSV files in runtime.
UE DTDataTable Plugin description, operating CSV files in runtime.
61 0
|
10月前
|
Windows
UE INI File Operation [ Read / Write ] Plug-in description
UE INI File Operation [ Read / Write ] Plug-in description
38 0
Dx unsupported class file version 52.0 Conversion to Dalvik format failed with error 1
Dx unsupported class file version 52.0 Conversion to Dalvik format failed with error 1
118 0
cl.exe is unable to create an executable file. C compiler test failed.
cl.exe is unable to create an executable file. C compiler test failed.
149 0
|
开发工具
Failed to find Build Tools revision 25.0.2
Failed to find Build Tools revision 25.0.2
80 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
146 0