Question

I'm using the Android Renderscript native library but the *.so files aren't packed in my APK when I export it.

The application works perfectly when I run it throught Eclipse but this is clearly a pack issue with the APK file:

Caused by: android.support.v8.renderscript.r: Error loading RS jni library: java.lang.UnsatisfiedLinkError: unknown failure

What am I supposed to do to add the *.so files in the APK ?

Was it helpful?

Solution

Solution was to add this line to the ProGuard file

-keep class android.support.v8.renderscript.** { *; }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top