Based on: cocos2d-x-3.10
Building mode: debug
Updated project.properties
Updated local.properties
Updated file /Users/wenze/Desktop/CG/CreateGalaxy/proj.android/proguard-project.txt
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml
make: Entering directory/Users/wenze/Desktop/CG/CreateGalaxy/proj.android'
/Users/wenze/Desktop/CG/CreateGalaxy/proj.android'
[armeabi] StaticLibrary : libcpufeatures.a
[armeabi] SharedLibrary : libcocos2dcpp.so
jni/../../Classes/AppDelegate.cpp:47: error: undefined reference to 'StartScene::createScene()'
collect2: error: ld returned 1 exit status
make: *** [obj/local/armeabi/libcocos2dcpp.so] Error 1
make: Leaving directory
Using Eclipse project : /Users/wenze/Desktop/CG/CreateGalaxy/proj.android
Android platform not specified, searching a default one...
running: '/Users/wenze/Library/Cocos/CocosStore/sdk-2/tools/android update project -t android-20 -p /Users/wenze/Desktop/CG/CreateGalaxy/proj.android'
Building native...
NDK build mode: release
NDK_TOOLCHAIN_VERSION: 4.9
running: '/Users/wenze/Library/Cocos/CocosStore/android-ndk-r10e-2/ndk-build -C /Users/wenze/Desktop/CG/CreateGalaxy/proj.android -j3 NDK_MODULE_PATH=/Applications/Cocos/cocos2d-x/cocos2d-x-3.10:/Applications/Cocos/cocos2d-x/cocos2d-x-3.10/cocos:/Applications/Cocos/cocos2d-x/cocos2d-x-3.10/external NDK_TOOLCHAIN_VERSION=4.9'
Error running command, return code: 2.请问大神是什么方面的问题?在Xcode中是可以编译运行的。谢谢
帖子: 3
参与者: 1