failed: dlopen failed: cannot locate symbol “signal” referenced by “libSDL2.so”

寵の児 提交于 2019-12-12 15:39:29

问题


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.



来源:https://stackoverflow.com/questions/25641583/failed-dlopen-failed-cannot-locate-symbol-signal-referenced-by-libsdl2-so

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