Failed to install the following Android SDK packages as some licences have not been accepted

image.png

DOWN下来的react-native项目报错,Failed to install the following Android SDK packages as some licences have not been accepted。

解决:

进入目录:D:\software\android\androidSDK\tools\bin(不同电脑前边地址不同)
执行:

sdkmanager.bat --licenses

一路y到底就可以了。


image.png

你可能感兴趣的:(Failed to install the following Android SDK packages as some licences have not been accepted)