rotorliu / spatialite-android

Automatically exported from code.google.com/p/spatialite-android
0 stars 0 forks source link

Error exceptiom #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start demo application

when start demo application everything ok i install initial database, i t 
ok...when i try to run test or browse data, a get exception...

02-25 21:09:30.199: W/System.err(15384): Unable to load sqlite_jni: 
java.lang.UnsatisfiedLinkError: Couldn't load jsqlite: findLibrary returned null
02-25 21:09:30.199: W/dalvikvm(15384): No implementation found for native 
Ljsqlite/Database;.internal_init ()V
02-25 21:09:30.199: W/dalvikvm(15384): Exception 
Ljava/lang/UnsatisfiedLinkError; thrown while initializing Ljsqlite/Database;
02-25 21:09:30.199: D/AndroidRuntime(15384): Shutting down VM
02-25 21:09:30.199: W/dalvikvm(15384): threadid=1: thread exiting with uncaught 
exception (group=0x2aac8578)
02-25 21:09:30.229: E/AndroidRuntime(15384): FATAL EXCEPTION: main
02-25 21:09:30.229: E/AndroidRuntime(15384): java.lang.IllegalStateException: 
Could not execute method of the activity
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
android.view.View$1.onClick(View.java:2168)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
android.view.View.performClick(View.java:2552)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
android.view.View$PerformClick.run(View.java:9229)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
android.os.Handler.handleCallback(Handler.java:587)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
android.os.Handler.dispatchMessage(Handler.java:92)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
android.os.Looper.loop(Looper.java:130)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
android.app.ActivityThread.main(ActivityThread.java:3701)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
java.lang.reflect.Method.invokeNative(Native Method)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
java.lang.reflect.Method.invoke(Method.java:507)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:624)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
dalvik.system.NativeStart.main(Native Method)
02-25 21:09:30.229: E/AndroidRuntime(15384): Caused by: 
java.lang.reflect.InvocationTargetException
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
java.lang.reflect.Method.invokeNative(Native Method)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
java.lang.reflect.Method.invoke(Method.java:507)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
android.view.View$1.onClick(View.java:2163)
02-25 21:09:30.229: E/AndroidRuntime(15384):    ... 11 more
02-25 21:09:30.229: E/AndroidRuntime(15384): Caused by: 
java.lang.ExceptionInInitializerError
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
com.spatialite.activities.TestActivity.runTest(TestActivity.java:56)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
com.spatialite.activities.TestActivity.onClick(TestActivity.java:32)
02-25 21:09:30.229: E/AndroidRuntime(15384):    ... 14 more
02-25 21:09:30.229: E/AndroidRuntime(15384): Caused by: 
java.lang.UnsatisfiedLinkError: internal_init
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
jsqlite.Database.internal_init(Native Method)
02-25 21:09:30.229: E/AndroidRuntime(15384):    at 
jsqlite.Database.<clinit>(Database.java:956)
02-25 21:09:30.229: E/AndroidRuntime(15384):    ... 16 more

i don't know how to deal with it 

thenks

Original issue reported on code.google.com by bojan.vu...@gmail.com on 25 Feb 2013 at 8:13

GoogleCodeExporter commented 9 years ago
i resolved this....eclipse error...it's works ,after separate refresh of all 
folders in libs folder...

Thanks

Original comment by bojan.vu...@gmail.com on 25 Feb 2013 at 9:27

GoogleCodeExporter commented 9 years ago

Original comment by efroh...@gmail.com on 29 Apr 2013 at 1:22