编译build_native.py时出现Cocos2d-x错误

时间:2016-03-26 17:30:46

标签: android macos cocos2d-x

每当我尝试编译cocos2d-x时,我都会收到此错误

 Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml  

...... 

Traceback (most recent call last):
  File "build_native.py", line 43, in <module>
    build(opts.build_mode)
  File "build_native.py", line 28, in build
    raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")
Exception: Build dynamic library for project [ /Users/Supachai/Desktop/PROJECTCPP/proj.android/../ ] fails! 

所以,请你帮我一把......

1 个答案:

答案 0 :(得分:-1)

也许您使用的是旧版本的NDK。因此,您可以使用新版本的ndk并重试。