rmtheis/tess-two — Issue #4: Library lept not found
Author: dmpatel123
Created: 2012-02-08 06:39:39+00:00
State: open

I am using Eclipse IDE and Windows XP

I imported tess-two library project in Eclipse IDE and then I imported GautamGupta-Simple-Android-OCR-8a4d86d project. When I run it then it gives following runtime exception after photo taken from camera and my application crashed:

FATAL EXCEPTION: main
java.lang.ExceptionInInitializerError
at com.datumdroid.android.ocr.simple.SimpleAndroidOCRActivity.onPhotoTaken(SimpleAndroidOCRActivity.java:211)
02-08 11:35:29.322: ERROR/AndroidRuntime(6918): at com.datumdroid.android.ocr.simple.SimpleAndroidOCRActivity.onActivityResult(SimpleAndroidOCRActivity.java:135)

02-08 11:35:29.322: ERROR/AndroidRuntime(6918): Caused by: java.lang.UnsatisfiedLinkError: Library lept not found
02-08 11:35:29.322: ERROR/AndroidRuntime(6918): at java.lang.Runtime.loadLibrary(Runtime.java:461)
02-08 11:35:29.322: ERROR/AndroidRuntime(6918): at java.lang.System.loadLibrary(System.java:557)
02-08 11:35:29.322: ERROR/AndroidRuntime(6918): at com.googlecode.tesseract.android.TessBaseAPI.(TessBaseAPI.java:47)
02-08 11:35:29.322: ERROR/AndroidRuntime(6918): ... 15 more

Please give me the needed steps to make project working successfully.