【发布时间】:2017-04-24 02:18:55
【问题描述】:
当我尝试构建我的项目时,它给了我这个错误
Checking the license for package Android SDK Build-Tools 23.0.1 in C:\Users\ASUS\AppData\Local\Android\Sdk\tools\licenses
Warning: License for package Android SDK Build-Tools 23.0.1 not accepted.
Checking the license for package Android SDK Platform 23 in C:\Users\ASUS\AppData\Local\Android\Sdk\tools\licenses
Warning: License for package Android SDK Platform 23 not accepted.
FAILURE: Build failed with an exception.
* 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 complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html
但我尝试将许可证添加到 sdk 路径它没有工作。我更新了我所有的 skd 平台和 sdk 工具。但我仍然收到这个错误。我该如何解决这个问题。
【问题讨论】:
标签: javascript android facebook react-native cross-platform