cocos2d-x 遇到的问题

1. path 找不到,因没有配置cygwin的环境变量

2. NDK_ROOT 找不到,因为未在C:\cygwin\home\Administrator\.bash_profile

加上

NDK_ROOT=/cygdrive/d/android/android-ndk-r7-windows
export NDK_ROOT

3. NDK 编译 init.mk 258 行出错,将 D:\android\android-ndk-r7-windows\prebuilt\windows\bin 下的 awk.exe 改个名即可。

4. 

09-07 23:43:17.794: E/AndroidRuntime(454): java.lang.IllegalArgumentException: No configs match configSpec
09-07 23:43:17.794: E/AndroidRuntime(454): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:763)
09-07 23:43:17.794: E/AndroidRuntime(454): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:919)
09-07 23:43:17.794: E/AndroidRuntime(454): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1264)
09-07 23:43:17.794: E/AndroidRuntime(454): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)

模拟器版本低,不支持openGl

posted @ 2013-09-08 00:15  turingkuang  阅读(249)  评论(0编辑  收藏  举报