xiyoufang/mahjong

打包失败

Opened this issue · 0 comments

hyahm commented

Cocos2d-X V3.17.1

windows 下

执行

cocos new -p com.xiyoufang.mahjong -l=cpp cocostudio-mahjong

把里面的cocos2d 复制到此项目下面

cocos compile -p android

报错信息,

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':cocostudio-mahjong'.

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

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

  • Get more help at https://help.gradle.org

BUILD FAILED in 2m 25s
执行命令出错,返回值:1。