Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndk-build gives error Check that StackBlur/jni/arm64-v8a/librsjni.so exists or that its path is corret #45

Open
siddhpuraamitr opened this issue Aug 25, 2016 · 1 comment

Comments

@siddhpuraamitr
Copy link

siddhpuraamitr commented Aug 25, 2016

For Faster process of Blur Image I want to use below function

StackBlurManager stackBlurManager = new StackBlurManager(bitmapFromGalleryOrCamera);
stackBlurManager.processNatively(25);

whenever I use above method .processNatively I am getting following errror
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/packageName-1/base.apk"],nativeLibraryDirectories=[/data/app/[packageName-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libblur.so"

So I have decided that I need to compile StackBlur module with NDK

but whenever I compile your StackBlur module with ndk-build I am getting following error


Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 8 in /..//..//../StackBlur/AndroidManifest.xml    
Android NDK: ERROR:/..//.../StackBlur/jni/Android.mk:rsjni: LOCAL_SRC_FILES points to a missing file    
Android NDK: Check that /..//..../StackBlur/jni/arm64-v8a/librsjni.so exists  or that its path is corret

Please suggest me what is the issue? what should I need to do to resolve this

@Jawnnypoo
Copy link

Hey there @siddhpuraamitr, if you only care about building the native libraries, all you need to do is go into the Manifest of the library and remove sdk information.

If you want to use the libraries precompiled via gradle, here is a solution I have created
https://github.com/Commit451/NativeStackBlur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants