I have builded tess-two using "android-ndk-r12b" in ubuntu, and I have 
imported it to my project as #module dependency,

 My project structure is as follows,

<https://lh3.googleusercontent.com/-cJKOUYPY6aY/V76SX3O3qGI/AAAAAAAAAco/1IByuh70Vl0DdamRJ3AQpg_sQ-qL_0u3QCLcB/s1600/1e5662e0-6492-11e6-976c-7bec1966be3e.png>



When I initializing TessBaseAPI, the app crashes and I am getting the 
following log,

Caused by: java.lang.UnsatisfiedLinkError: Couldn't load jpgt from loader 
dalvik.system.PathClassLoader[dexPath=/data/app/phenomtec.com.tessnative-1.apk,libraryPath=/data/app-lib/phenomtec.com.tessnative-1]:
 
findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:535)
at com.googlecode.tesseract.android.TessBaseAPI.(TessBaseAPI.java:50)
at phenomtec.com.tessnative.MainActivity.detectText(MainActivity.java:37) 
at phenomtec.com.tessnative.MainActivity.onCreate(MainActivity.java:32) 
at android.app.Activity.performCreate(Activity.java:5283) 
at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 
at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2209) 
at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2295) 
at android.app.ActivityThread.access$700(ActivityThread.java:150) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280) 
at android.os.Handler.dispatchMessage(Handler.java:99) 
at android.os.Looper.loop(Looper.java:175) 
at android.app.ActivityThread.main(ActivityThread.java:5279) 
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:511)


I have tested it on Samsung Galaxy tab and Samsung Galaxy s3

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/80bfc6e6-9f04-4b10-8205-9c3f62cc4273%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to