Jump to content
  • Advertisement
Sign in to follow this  
Florian22222

Problem importing .so lib file into game

This topic is 2058 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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! Edited by IceBreaker23

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!