Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Android
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Jeanne Boyarsky
Bear Bibeault
Sheriffs:
Rob Spoor
Henry Wong
Liutauras Vilda
Saloon Keepers:
Tim Moores
Carey Brown
Stephan van Hulst
Tim Holloway
Piet Souris
Bartenders:
Frits Walraven
Himai Minh
Jj Roberts
Forum:
Android
java.lang.UnsatisfiedLinkError: Couldn't load axonI2C from loader dalvik.system.PathClassLoader
Glenda Karen
Ranch Hand
Posts: 89
2
posted 3 weeks ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am trying to use the
modio_android
library in android studio but when I run the app it crashes after the launching with the following error:
E/AndroidRuntime: FATAL EXCEPTION: main Process: axon.test.testJNI, PID: 2427 java.lang.UnsatisfiedLinkError: Couldn't load axonI2C from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/axon.test.testJNI-2.apk"],nativeLibraryDirectories=[/data/app-lib/axon.test.testJNI-2, /vendor/lib, /system/lib]]]: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:358) at java.lang.System.loadLibrary(System.java:526) at axon.test.testJNI.axonI2C.<clinit>(axonI2C.java:42) at axon.test.testJNI.TestJNIActivity.onCreate(TestJNIActivity.java:26) at android.app.Activity.performCreate(Activity.java:5258) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1099) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2337) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1243) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5375) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:989) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) at dalvik.system.NativeStart.main(Native Method)
The
axonI2C.java
looks like it is calling the library properly:
static { System.loadLibrary("axonI2C"); }
Any ideas would be great, thanks so much!
What's that smell? Hey, sniff this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
NullPointerException when calling connection Object
how to switch activity properly without android launcher shooting down
Weather app troubles oh no
Help With My Android Calculator Project
linking stream wont play from server side
More...