编译安卓版本一直通过不了,native.log报错信息如下

Parsing D:\Env\Android-SDK\platforms\android-22\package.xml
Parsing D:\Env\Android-SDK\tools\package.xml
Checking the license for package Android SDK Build-Tools 25 in D:\Env\Android-SDK\licenses
Warning: License for package Android SDK Build-Tools 25 not accepted.

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ‘:Survival’.

You have not accepted the license agreements of the following SDK components:
[Android SDK Build-Tools 25].
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

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 32 mins 45.205 secs
Stopped 0 compiler daemon(s).
执行命令出错,返回值:1。

可能是没有生成keystore吧

没有同意使用条款,我猜的

运行sdk manager更新build-tools

把这个勾掉就可以了

你便以时没有勾andriod studio

我的目的就是要勾选这个,查了下,勾选的话确实tool的版本不够,谢谢了

遇到同样问题,请问你的解决了吗