Problem importing .so lib file into game

Started by
0 comments, last by Florian22222 11 years, 3 months ago
Hey there!

Due to some missing opengl calls for vbos I want to use the opengl native wrapper from libgdx.
I have the wrapper class in my project folder and copied the libandroidgles20.so into libs/armeabi

The problem is that I get a UnsatisfiedLinkError at this line:
static {	System.loadLibrary("androidgl20");}
It seems that I need to specifiy that the lib should be built in the project...

Does anyone know how to do this?
Note: I do not have NDK installed, because I think I don´t need it for just using it...

Thanks in advance!
Advertisement

Ok solved it myself now.

The class defined in the native code (e.g. com.icebreaker.framework) needs to be the same as specified in the wrapper class.

This topic is closed to new replies.

Advertisement