UnsatisfiedLinkError:无法从加载程序加载jpgt

时间:2016-08-17 10:34:12

标签: unsatisfiedlinkerror

我在ubuntu中使用android-ndk-r12b构建了tess-two,并将其导入到我的项目广告模块依赖项中,

初始化TessBaseAPI时,应用程序崩溃,我收到以下日志,

引起加载程序的java.lang.UnsatisfiedLinkError: Couldn't load jpgt

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)

enter image description here

0 个答案:

没有答案