cocos creator打包编译报错: You have not accepted the license agreements of the following SDK components

cocos creator打包编译报错: You have not accepted the license agreements of the following SDK components,第1张

概述场景:如题,打包编译时报错 控制台的日志: Error: Compile failed. The log file path [ C:\Users\Administrator\.CocosCreator\logs\native.log ]     at ChildProcess.handleChildProcess (C:\CocosCreator\resources\app.asar\edito

场景:如题,打包编译时报错

控制台的日志:

Error: Compile Failed. The log file path [ C:\Users\administrator\.CocosCreator\logs\native.log ]
at ChildProcess.handleChildProcess (C:\CocosCreator\resources\app.asar\editor\core\native-utils.Js:1:20297)
at ChildProcess.e.on (C:\CocosCreator\resources\app.asar\editor\core\native-utils.Js:1:7685)
at emitTwo (events.Js:106:13)
at ChildProcess.emit (events.Js:194:7)
at maybeClose (internal/child_process.Js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.Js:226:5)

错误类似于(C:\Users\administrator\.CocosCreator\logs\native.log):

A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
[AndroID SDK Build-Tools 26.0.2].

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.

解决:安装 androID studio 2.3.3 安装,安装完成后下载安装各种平台工具,类似如下:


备注:如果在安装androID studio时已经配置了环境变量:

我的做法是,把原来的文件改下名,然后安装androID studio时重新指定回指个目录

安装完相关的平台和工具后再打包就OK正常。

总结

以上是内存溢出为你收集整理的cocos creator打包编译报错: You have not accepted the license agreements of the following SDK components全部内容,希望文章能够帮你解决cocos creator打包编译报错: You have not accepted the license agreements of the following SDK components所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1085668.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-27
下一篇 2022-05-27

发表评论

登录后才能评论

评论列表(0条)

保存