I now installed androd-ndk-r6b, my projects work now with android 2.1, no more black screens (still low frame rate 15fps, is that normal?)
Edited: I don’t know what happened again but im getting the black screen again! This is frustrating… it worked the first time but now is not working anymore, i thought it was a problem with the ndk-r7 but no… it seems with ndk-r6b it works for the first time then it stopped working, i tried deleting the apk, cleaning the project, etc, it is not working anymore…
Sometimes it works, sometimes it doesnt, i have to uninstall the app frmo the device, clean project and then rerun, and “sometimes” it works… but almost always i get the black screen!
Also, it only worked with 2.2 version (im just trying to run the hello world…), with 2.1 i can never get it working.
Will this help?:
12-19 07:19:43.155: W/apk path(265): /data/app/org.cocos2dx.application-1.apk
12-19 07:19:43.374: D/libEGL(265): egl.cfg not found, using default config
12-19 07:19:43.374: D/libEGL(265): loaded /system/lib/egl/libGLES_android.so
12-19 07:19:43.474: D/dalvikvm(265): GC_EXTERNAL_ALLOC freed 1143 objects / 76184 bytes in 64ms
12-19 07:19:43.864: I/ARMAssembler(265): generated scanline*000001B7:03515144_00009003_00000000 at in 3395370 ns
12-19 07:19:43.894: I/ARMAssembler: generated scanline*000001B7:03515144_00009001_00000000 177 ipp at [0x23db00:0x23df44] in 2741915 ns
12-19 07:19:49.974: W/apk path(265): /data/app/org.cocos2dx.application-1.apk
12-19 07:20:01.184: W/dalvikvm(265): JNI WARNING: expected return type ‘L’
12-19 07:20:01.214: W/dalvikvm(265): calling Lorg/cocos2dx/lib/Cocos2dxActivity;.terminateProcess ()V
12-19 07:20:01.214: W/dalvikvm(265): in Lorg/cocos2dx/lib/Cocos2dxRenderer;.nativeRender ()V (CallStaticObjectMethodV)
So i don’t think the ndk version is a problem here… can someone help me?