cocos2dx- call to OpenGL ES API with no current context(logged once per thread)
交互要在opengl 线程里面处理就不会了
cocos2dx提供的
active.runOnGLThread(new Runnable() { @Override public void run() { // TODO Auto-generated method stub //这里写要处理的jni } } );