打包发布时报错

查了一下日志:显示如下:

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 ‘:libcocos2dx’.

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: 7.831 secs
Stopped 0 compiler daemon(s).
执行命令出错,返回值:1。

大兄弟,你解决了吗?

你好,你的报错信息已经说明你的android sdk有问题了?请下载完整的android sdk后再重新编译,可以到android官方网站下载对应的SDK版本,编译android stuido请下载SDK的Build-Tools为26以上版本。

好的,谢谢了