发帖前请先搜索是否有相关帖子: http://forum.cocos.com/search?q=category%3Acreator%20 ,
反馈 Bug 时请提供
- Creator 版本:1.6.2
- 目标平台:Android
- 详细报错信息,包含调用堆栈:
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 ‘:Joystickmaster’.
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: 1.306 secs
Stopped 0 worker daemon(s).
Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring project ‘:Joystickmaster’.] from daemon DaemonInfo{pid=7856, address=[8f5e08c5-dc03-454a-ac9c-421f10dab37a port:50358, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1509159926023, context=DefaultDaemonContext[uid=ba1fe084-d8bb-43d1-a60a-01b74fa96f5d,javaHome=E:\Java\jdk1.8.0,daemonRegistryDir=C:\Users\Administrator.gradle\daemon,pid=7856,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]} (build should be done).
执行命令出错,返回值:1。
- 之前哪个版本是正常的:HelloWorld打包正常并且已经在手机上运行过
- 编辑器操作系统:windows