Fofole
Fofole

Reputation: 3568

AndEngine error on loading library

I have a problem while running the examples from andengine. The error I'm getting is at this line:

System.loadLibrary( "andenginephysicsbox2dextension" );

Couldn't load andenginephysics2dextension. Find library returned null. I noticed other people kept having this problem but no solution was proposed.

Any help is welcomed! Thanks.

Upvotes: 5

Views: 2334

Answers (3)

Chris Antonick
Chris Antonick

Reputation: 101

Check out this tutorial: http://www.youtube.com/playlist?list=PL6131C7A9DDCF959A

The new way of using andEngine is to include the git repos as libraries (without making any jars)

Upvotes: 2

Nicolas Gramlich
Nicolas Gramlich

Reputation: 2790

looks like you missed to copy the native libraries. AndEngine is now hosted on github and it is in perfectly active development! ( https://github.com/nicolasgramlich/AndEngine ) more info on what changed in the new GLES2 version here: http://www.andengine.org/forums/announces/andengine-gles2-pre-release-on-december-23rd-t6097.html#p26851

Using AndEngine as a library project is recommended and this will automatically 'copy' the native libraries to your project.

Best Regards, Nicolas

Upvotes: 10

Ludevik
Ludevik

Reputation: 7264

The error you are getting is because you have to build the Box2D extension yourself. I think there is tutorial how to do it. However i stoped there and downloaded the demos from market. Then eventually switched to libGDX.

Upvotes: 3

Related Questions