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

Couldn't load AndroidImageFilter #8

Open
bayvirus opened this issue Jun 9, 2014 · 1 comment
Open

Couldn't load AndroidImageFilter #8

bayvirus opened this issue Jun 9, 2014 · 1 comment

Comments

@bayvirus
Copy link

bayvirus commented Jun 9, 2014

06-09 07:03:23.279: E/AndroidRuntime(2635): FATAL EXCEPTION: main
06-09 07:03:23.279: E/AndroidRuntime(2635): java.lang.ExceptionInInitializerError
06-09 07:03:23.279: E/AndroidRuntime(2635): at cn.Ragnarok.BitmapFilter.changeStyle(BitmapFilter.java:80)
06-09 07:03:23.279: E/AndroidRuntime(2635): at com.extremecamera.ActPhotoEditor$1.onClick(ActPhotoEditor.java:50)
06-09 07:03:23.279: E/AndroidRuntime(2635): at android.view.View.performClick(View.java:4084)
06-09 07:03:23.279: E/AndroidRuntime(2635): at android.view.View$PerformClick.run(View.java:16966)
06-09 07:03:23.279: E/AndroidRuntime(2635): at android.os.Handler.handleCallback(Handler.java:615)
06-09 07:03:23.279: E/AndroidRuntime(2635): at android.os.Handler.dispatchMessage(Handler.java:92)
06-09 07:03:23.279: E/AndroidRuntime(2635): at android.os.Looper.loop(Looper.java:137)
06-09 07:03:23.279: E/AndroidRuntime(2635): at android.app.ActivityThread.main(ActivityThread.java:4745)
06-09 07:03:23.279: E/AndroidRuntime(2635): at java.lang.reflect.Method.invokeNative(Native Method)
06-09 07:03:23.279: E/AndroidRuntime(2635): at java.lang.reflect.Method.invoke(Method.java:511)
06-09 07:03:23.279: E/AndroidRuntime(2635): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
06-09 07:03:23.279: E/AndroidRuntime(2635): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
06-09 07:03:23.279: E/AndroidRuntime(2635): at dalvik.system.NativeStart.main(Native Method)
06-09 07:03:23.279: E/AndroidRuntime(2635): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load AndroidImageFilter: findLibrary returned null
06-09 07:03:23.279: E/AndroidRuntime(2635): at java.lang.Runtime.loadLibrary(Runtime.java:365)
06-09 07:03:23.279: E/AndroidRuntime(2635): at java.lang.System.loadLibrary(System.java:535)
06-09 07:03:23.279: E/AndroidRuntime(2635): at cn.Ragnarok.SharpenFilter.(SharpenFilter.java:11)
06-09 07:03:23.279: E/AndroidRuntime(2635): ... 13 more

@bayvirus bayvirus changed the title Jar not working Couldn't load AndroidImageFilter Jun 9, 2014
@ragnraok
Copy link
Owner

ragnraok commented Jun 9, 2014

Did you clean and rebuild the "AndroidImageFilter" project? And after you import the library project in eclipse, you need to properly configure NDK and its Builder in Eclipse, in Eclipse, right click the project, select Properties -> C/C++ Build, and input the location of ndk-build binary(etc. /Users/ragnarok/android-ndk-r9d/ndk-build ) in the "Build Command"

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