Problem running Tutorial Chapter 3 - How to Move a sprite


#1

Hi all, I’m trying to learn cocos2d-x to program multi-platform games.

I’m doing the tutorial to learn cocos2d-x on android. I build and run the second tutorial chapter without a problem, but with the third I have an error while running the app in the phone.

Compile C++ (with build_native.sh) works ok, and build and install the .apk too, but when it tries to start, is closed by the error:

02-13 12:24:25.730: E/AndroidRuntime(28670): FATAL EXCEPTION: GLThread 12
02-13 12:24:25.730: E/AndroidRuntime(28670): java.lang.UnsatisfiedLinkError: nativeInit
02-13 12:24:25.730: E/AndroidRuntime(28670):    at org.cocos2dx.lib.Cocos2dxRenderer.nativeInit(Native Method)
02-13 12:24:25.730: E/AndroidRuntime(28670):    at org.cocos2dx.lib.Cocos2dxRenderer.onSurfaceCreated(Cocos2dxRenderer.java:40)
02-13 12:24:25.730: E/AndroidRuntime(28670):    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1348)
02-13 12:24:25.730: E/AndroidRuntime(28670):    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)

Some idea about what can be?

Thanks for the help!
Pere.