天天看点

cocos2dx eclipse 调试设置

debug:
1.build_native.sh下 "$NDK_ROOT"/ndk-build NDK_DEBUG=1 $PARALLEL_BUILD_FLAG -C
2.AndroidManifest.xml下 android:minSdkVersion更改为14
3.AndroidManifest.xml下 <Application android:debuggable="true" >
4.工程->properties->C/C++Build->BuildCommand下  :ndk-build.cmd NDK_DEBUG=1

release:

1."$NDK_ROOT"/ndk-build $PARALLEL_BUILD_FLAG -C

2.AndroidManifest.xml下 android:minSdkVersion更改为8
3.AndroidManifest.xml下 <Application android:debuggable="false" >去掉调试
4.工程->properties->C/C++Build->BuildCommand下  :ndk-build.cmd