Native libraries not running on the device

只谈情不闲聊 提交于 2019-12-07 10:54:27

问题


I've put armeabi,armeabi-v7a folders into libs folder and not in maven repository. But I am getting following error while using libgdx:

The library 'gdx-backend-jogl-natives.jar' contains native libraries that will not run on the device. The following libraries were found:

  • libgluegen-rt-linux32.so -libgluegen-rt.jnilib
  • libgluegen-rt-linux64.so
  • libjogl.jnilib
  • libjogl_awt.jnilib
  • libjogl_awt-linux32.so
  • libjogl_awt-linux64.so
  • libjogl-linux32.so
  • libjogl-linux64.so
  • liblwjgl.jnilib
  • liblwjgl.so
  • liblwjgl64.so
  • libopenal.so
  • libopenal64.so

Any help will be appreciated. Thanks


回答1:


gdx-backend-jogl-natives.jar file contains the basic information about how to create the window in desktop environment. So when you provide android environment it will conflict with android native library so it throws an error. so you have to remove the native library from the project then check it will execute successfully.



来源:https://stackoverflow.com/questions/10189675/native-libraries-not-running-on-the-device

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!