Android JNI not packed in APK

android, java-native-interface, renderscript

Solution

Solution was to add this line to the ProGuard file

-keep class android.support.v8.renderscript.** { *; }

Problem

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` ?

Original source