当前位置: 代码迷 >> 综合 >> cocos2dx eclipse 调试设置
  详细解决方案

cocos2dx eclipse 调试设置

热度:14   发布时间:2024-01-14 11:15:07.0

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

  相关解决方案