creator 1.5在Mac上编译HelloWorld安卓出错
/Users/chuixing/disk/cocosPack/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/…/lib/gcc/arm-linux-androideabi/4.9/…/…/…/…/arm-linux-androideabi/bin/ld: warning: cannot scan executable section 29 of /Users/chuixing/disk/projects/helloWorld/build/jsb-default/frameworks/cocos2d-x/external/android/armeabi-v7a/libPluginProtocolStatic.a(PluginFactory.o) for Cortex-A8 erratum because it has no mapping symbols.
其实问题是这个Checking the license for package Android SDK Build-Tools 25 in /Users/chuixing/disk/cocosPack/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 ‘:hello_world’.
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
你好,构建界面的Android Studio选项去掉后就可以正常编译了。
可以了,谢谢