Error loading RS jni library: UnsatisfiedLinkError: Couldn't load RSSupport: findLibrary returned null

懵懂的女人 提交于 2019-11-30 21:24:40

According to Tim Murray (the guy responsible for Android renderscript support) this will be fixed in the next build tools version (probably 19.1.1).

You don't have to use the library build-tools/19.0.1/renderscript/lib/renderscript-v8.jar (delete it), as google team say here, you only have to include in your project.properties file this lines:

renderscript.target=18
renderscript.support.mode=true
sdk.buildtools=19.0.3

I hope this will help you.

I know the OP does not have this problem any more, but I just want to comment on it for anyone else who bump into this. The OP in this case probably only have the libRSSupport.so for armeabi but not x86, which is why it will work on S3 but not RAZR's "i" series devices that runs on Intel chipsets.

As there are no solutions at the moment we decided not to use renderscript. Maybe with future updates if these problems get resolved.

google has fixed in Build Tools, Revision 23.0.3 . You can find the support package in /build-tools/x.x.x/renderscript/lib.The problem has been resolved.

you have to include the JNI libraries as part of your application package. Please check that you didn't accidentally strip them. You should have libRSSupport.so, librsjni.so, as well as a librs..so for each user script you have in your application. These should exist under the lib/armeabi-v7a directory for any ARM device. There should also be similar subdirectories for x86/mips.

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