android: tesseract force close
- by Vishnu Mohan G
I tried the tesseract tutorial here and get the
following error:
06-03 01:18:52.626: E/AndroidRuntime(15103): FATAL EXCEPTION: main
06-03 01:18:52.626: E/AndroidRuntime(15103):
java.lang.ExceptionInInitializerError 06-03 01:18:52.626:
E/AndroidRuntime(15103): at
o.c.r.LetsTryOCrActivity.onCreate(LetsTryOCrActivity.java:28) 06-03
01:18:52.626: E/AndroidRuntime(15103): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
06-03 01:18:52.626: E/AndroidRuntime(15103): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
06-03 01:18:52.626: E/AndroidRuntime(15103): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
06-03 01:18:52.626: E/AndroidRuntime(15103): at
android.app.ActivityThread.access$1500(ActivityThread.java:123) 06-03
01:18:52.626: E/AndroidRuntime(15103): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
06-03 01:18:52.626: E/AndroidRuntime(15103): at
android.os.Handler.dispatchMessage(Handler.java:99) 06-03
01:18:52.626: E/AndroidRuntime(15103): at
android.os.Looper.loop(Looper.java:130) 06-03 01:18:52.626:
E/AndroidRuntime(15103): at
android.app.ActivityThread.main(ActivityThread.java:3835) 06-03
01:18:52.626: E/AndroidRuntime(15103): at
java.lang.reflect.Method.invokeNative(Native Method) 06-03
01:18:52.626: E/AndroidRuntime(15103): at
java.lang.reflect.Method.invoke(Method.java:507) 06-03 01:18:52.626:
E/AndroidRuntime(15103): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
06-03 01:18:52.626: E/AndroidRuntime(15103): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605) 06-03
01:18:52.626: E/AndroidRuntime(15103): at
dalvik.system.NativeStart.main(Native Method) 06-03 01:18:52.626:
E/AndroidRuntime(15103): Caused by: java.lang.UnsatisfiedLinkError:
Couldn't load lept: findLibrary returned null 06-03 01:18:52.626:
E/AndroidRuntime(15103): at
java.lang.Runtime.loadLibrary(Runtime.java:429) 06-03 01:18:52.626:
E/AndroidRuntime(15103): at
java.lang.System.loadLibrary(System.java:554) 06-03 01:18:52.626:
E/AndroidRuntime(15103): at
com.googlecode.tesseract.android.TessBaseAPI.(TessBaseAPI.java:42)
06-03 01:18:52.626: E/AndroidRuntime(15103): ... 14 more
Please help me solve this. thanks in Advance!.