The first step is to find Backtrace:keyword first, and then find the local pc 0000088b/system/lib/libndk_04.so (sayhello+98) where the library file should be wrong.
08-13 17:08:28.041 I/debug (163): BackTrace:
08-13 17:08:28.041 I/debug (163): #00 pc 00021fc0/system/lib/libc.so (tgkill+12)
08-13 17:08:28.041 I/debug (163): #01 pc 00013081/system/lib/libc.so (pthread_kill+48)
08-13 17:08:28.041 I/debug (163): #02 pc 00013295/system/lib/libc.so (raise+10)
08-13 17:08:28.041 I/debug (163): #03 pc 00011fc9/system/lib/libc.so
08-13 17:08:28.041 I/debug (163): #04 pc 00021874/system/lib/libc.so (abort+4)
08-13 17:08:28.041 I/debug (163): #05 pc 0004b11b/system/lib/libdvm.so (dvmabort+78)
08-13 17:08:28.041 I/debug (163): #06 pc 0002d454/system/lib/libdvm.so (Indirectreftable::get (void*) const+252)
08-13 17:08:28.041 I/debug (163): #07 pc 0004f9b7/system/lib/libdvm.so (Dvmdecodeindirectref (Thread*, _jobject* ) +30)
08-13 17:08:28.041 I/debug (163): #08 pc 00051b75/system/lib/libdvm.so
08-13 17:08:28.041 I/debug (163): #09 pc 0000088b/system/lib/libndk_04.so (sayhello+98)
Step Two
Arm-linux-androideabi-addr2line-c-f-e out/target/product/ndp959/symbols/system/lib/libndk_04.so 0000088b
Step Three
Get:
/home/hlwang/tian/tshark/ndp959/development/samples/ndk_04/jni/provider.c:118
Error locating the line to the library file.
Fourth Step
Change it slowly.
Some details can be tested:
Http://doc.okbase.net/xyang81/archive/121689.html
Http://blog.sina.com.cn/s/blog_702c2db50102vc2h.html
http://blog.csdn.net/lubeijing2008xu/article/details/37569809
Http://blog.chinaunix.net/uid-58110-id-2733429.html
Java Call library File Error Lookup method