失败:执行dlopen失败:无法找到符号QUOT;信号QUOT; libSDL2.so"通过&QUOT参考;

问题描述:

使用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 using System.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.