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”…"
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
回答2:
Changing back to r9 didn't work for me. I had to revert from r10e do r10b. Don't know why, but I tried r11c, r9d, r9, r10e, but r10b was the only that I was able to get rid of this problem.