java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/base.apk"],nativeLibraryDirectories=[/data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/lib/arm, /data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]]] couldn't find "libjpgt.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
at java.lang.System.loadLibrary(System.java:1672)
at com.googlecode.tesseract.android.TessBaseAPI.(TessBaseAPI.java:50)
at com.zto.recognition.phonenumber.tess.TessEngine.init(TessEngine.java:31)
at com.zto.base.MyApplication.onCreate(MyApplication.java:21)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1162)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6636)
at android.app.ActivityThread.access$2000(ActivityThread.java:268)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1995)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:7539)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
I use the implemention like this:
implementation 'com.zsmarter:Tess4Android:1.0.1'
implementation 'com.googlecode:tess-two-api:1.0.1'
above that is occur this kind of error: couldn't find "libjpgt.so"
so could you fix this problem?
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/base.apk"],nativeLibraryDirectories=[/data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/lib/arm, /data/app/com.zto.base-mXdDzHMte2M5OR2IE0mRAw==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]]] couldn't find "libjpgt.so" at java.lang.Runtime.loadLibrary0(Runtime.java:1012) at java.lang.System.loadLibrary(System.java:1672) at com.googlecode.tesseract.android.TessBaseAPI.(TessBaseAPI.java:50)
at com.zto.recognition.phonenumber.tess.TessEngine.init(TessEngine.java:31)
at com.zto.base.MyApplication.onCreate(MyApplication.java:21)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1162)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6636)
at android.app.ActivityThread.access$2000(ActivityThread.java:268)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1995)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:7539)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
I use the implemention like this: implementation 'com.zsmarter:Tess4Android:1.0.1' implementation 'com.googlecode:tess-two-api:1.0.1' above that is occur this kind of error: couldn't find "libjpgt.so" so could you fix this problem?