问题描述
使用SDL建立一个Android应用程序,我在java文件中使用加载此
的System.loadLibrary(SDL2);但是当我尝试运行在Android平板电脑的应用程序,它提供了以下错误java.lang.UnsatisfiedLinkError中:执行dlopen失败:无法找到符号libSDL2.so通过引用信号 ......
building an Android application using the SDL, I am loading this in the java file usingSystem.loadLibrary("SDL2");but when I try to run the application on an android tablet, it gives the following error "java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "signal" referenced by "libSDL2.so"…"
推荐答案
请确保您的NDK平台版本手机的结构相匹配。我有几个不同的版本NDK进行实验,以找出自己。如果失败,也许你遇到下面,他不得不从R10恢复到R9后SFO的问题。
Make sure your ndk platform version matches your phone's architecture. I had to experiment with a few different ndk versions to figure it out myself. If that fails, perhaps you are experiencing SFO's problem in the post below where he had to revert to r9 from r10.
这篇关于失败:执行dlopen失败:无法找到符号QUOT;信号QUOT; libSDL2.so"通过&QUOT参考;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!