Gettings this exception while starting project with GPUIMage library. Looks Like the problem is the same as Android. Couldn't load gpuimage-library. But information from the answer is not enough.
Can someone help me with it? Thanks anyway.
Exception refers to this class:
package jp.co.cyberagent.android.gpuimage;
public class GPUImageNativeLibrary {
static {
System.loadLibrary("gpuimage-library");
}
public static native void YUVtoRBGA(byte[] yuv, int width, int height, int[] out);
public static native void YUVtoARBG(byte[] yuv, int width, int height, int[] out);
}
exception:
FATAL EXCEPTION: GLThread 2588
Process: com.blah, PID: 490
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.blah-2/base.apk"],nativeLibraryDirectories=[/data/app/com.blah-2/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libgpuimage-library.so"
at java.lang.Runtime.loadLibrary(Runtime.java:367)
at java.lang.System.loadLibrary(System.java:1076)
at jp.co.cyberagent.android.gpuimage.GPUImageNativeLibrary.<clinit>(GPUImageNativeLibrary.java:21)
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer$1.run(GPUImageRenderer.java:141)
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.runAll(GPUImageRenderer.java:126)
at jp.co.cyberagent.android.gpuimage.GPUImageRenderer.onDrawFrame(GPUImageRenderer.java:115)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1535)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)