I can not create a new world with box2D on Android

I added gdx.jar and gdx-backend-android.jar in the Libraries tab. I get java.lang.UnsatisfiedLinkError: newWorldfor

gravity = new Vector2(0,10f);        
world = new  World(gravity, false);

All the problems in google source code tracker can't help me.

+3
source share
2 answers

Have you added these libraries to your application build path?

0
source

You only use the box2d shell, which I assume. In this case, you must load the natives yourself through System.load ("gdx").

+4
source

All Articles