Android JNI DETECTED ERROR IN APPLICATION: JNI GetMethodID called with pending exception

前端 未结 5 1743
春和景丽
春和景丽 2020-12-30 12:09

I\'m trying to run a Googles OCR Tesseract with my android project. I have already complied tesseract with android-ndk and am receiving this error after I try and run the an

5条回答
  •  情话喂你
    2020-12-30 12:28

    you should use ndk-stack tool in android NDK to find out the crashed position. see the link about ndk stack.

    adb logcat > /tmp/foo.txt
    
    $NDK/ndk-stack -sym $PROJECT_PATH/obj/local/armeabi -dump foo.txt
    

提交回复
热议问题