2
J'utilise cocos2d-x-2.2.6
et mon application tombe en panne, lorsque runnin
sur un périphérique. logcat me fait remarquer le fichier Cocos2dxRenderer.java et il se bloque danscocos2d-x-2.2.6 Intégration Android
@Override
public void onSurfaceCreated(final GL10 pGL10, final EGLConfig pEGLConfig) {
Cocos2dxRenderer.nativeInit(this.mScreenWidth, this.mScreenHeight);
this.mLastTickInNanoSeconds = System.nanoTime();
}
à appeler Cocos2dxRenderer.nativeInit (this.mScreenWidth, this.mScreenHeight);
erreur est:
JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception 'java.lang.NoSuchMethodError' thrown in void org.cocos2dx.lib.Cocos2dxRenderer.nativeInit(int, int):-2 in call to FindClass
Ce qui pourrait être une raison de celui-ci? Merci.