Android JNI DETECTED ERROR IN APPLICATION的解决

在APK中使用了jni 的so shared library,运行的运行的时候出现如下的错误:

<span style="font-family:Microsoft YaHei;font-size:18px;">                  </span><span style="font-family:Microsoft YaHei;font-size:14px;">  art  F  art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI RegisterNatives called with pending exception 'java.lang.ClassNotFoundException' thrown in unknown throw locati
                            on
                         F  art/runtime/check_jni.cc:65]     in call to RegisterNatives
                         F  art/runtime/check_jni.cc:65]     from java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String)
                         F  art/runtime/check_jni.cc:65] "Binder_4" prio=5 tid=15 Runnable
                         F  art/runtime/check_jni.cc:65]   | group="main" sCount=0 dsCount=0 obj=0x12d750a0 self=0xb4836000
                         F  art/runtime/check_jni.cc:65]   | sysTid=3381 nice=0 cgrp=default sched=0/0 handle=0xaf44aa80
                         F  art/runtime/check_jni.cc:65]   | state=R schedstat=( 22000000 8000000 54 ) utm=1 stm=0 core=1 HZ=100
                         F  art/runtime/check_jni.cc:65]   | stack=0xa43b5000-0xa43b7000 stackSize=1012KB
                         F  art/runtime/check_jni.cc:65]   | held mutexes= "mutator lock"(shared held)
                         F  art/runtime/check_jni.cc:65]   native: #00 pc 00004ef0  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
                         F  art/runtime/check_jni.cc:65]   native: #01 pc 000036d5  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
                         F  art/runtime/check_jni.cc:65]   native: #02 pc 002439d1  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*,
                             art::mirror::ArtMethod*)+68)
                         F  art/runtime/check_jni.cc:65]   native: #03 pc 00227d79  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+144)
                         F  art/runtime/check_jni.cc:65]   native: #04 pc 000b099b  /system/lib/libart.so (art::JniAbort(char const*, char const*)+582)
                         F  art/runtime/check_jni.cc:65]   native: #05 pc 000b10e1  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
                         F  art/runtime/check_jni.cc:65]   native: #06 pc 000b4229  /system/lib/libart.so (art::ScopedCheck::ScopedCheck(_JNIEnv*, int, char const*)+1292)
                         F  art/runtime/check_jni.cc:65]   native: #07 pc 000bda2b  /system/lib/libart.so (art::CheckJNI::RegisterNatives(_JNIEnv*, _jclass*, JNINativeMethod const*, int)+26)
                         F  art/runtime/check_jni.cc:65]   native: #08 pc 00004b59  /data/app/com.XXXX.rcc-1/lib/arm/libipc_shared.so (JNI_OnLoad+44)
                         F  art/runtime/check_jni.cc:65]   native: #09 pc 001d3619  /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1
                            ::allocator<char> > const&, art::Handle<art::mirror::ClassLoader>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1584)
                         F  art/runtime/check_jni.cc:65]   native: #10 pc 001f874d  /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+528)
                         F  art/runtime/check_jni.cc:65]   native: #11 pc 0007980d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_String_2Ljava_lang_ClassLoa
                            der_2Ljava_lang_String_2+152)
                         F  art/runtime/check_jni.cc:65]   at java.lang.Runtime.nativeLoad(Native method)
                         F  art/runtime/check_jni.cc:65]   at java.lang.Runtime.doLoad(Runtime.java:428)
                         F  art/runtime/check_jni.cc:65]   - locked <0x19133ef5> (a java.lang.Runtime)
                         F  art/runtime/check_jni.cc:65]   at java.lang.Runtime.loadLibrary(Runtime.java:369)
                         F  art/runtime/check_jni.cc:65]   at java.lang.System.loadLibrary(System.java:988)
                         F  art/runtime/check_jni.cc:65]   at com.XXXX.rcc.IPC.<clinit>(IPC.java:13)
                         F  art/runtime/check_jni.cc:65]   at com.XXXX.rcc.ble.controller.Device.onNotify(Device.java:114)
                         F  art/runtime/check_jni.cc:65]   at com.XXXX.rcc.ble.Peripheral.onCharacteristicChanged(Peripheral.java:718)
                         F  art/runtime/check_jni.cc:65]   at android.bluetooth.BluetoothGatt$1.onNotify(BluetoothGatt.java:438)
                         F  art/runtime/check_jni.cc:65]   at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:399)
                         F  art/runtime/check_jni.cc:65]   at android.os.Binder.execTransact(Binder.java:446)
                         F  art/runtime/check_jni.cc:65]
                         I  pidname=[bmic] wait 3 sec---Count=[211]
                    art  F  art/runtime/runtime.cc:289] Runtime aborting...
                         F  art/runtime/runtime.cc:289] Aborting thread:
                         F  art/runtime/runtime.cc:289] "Binder_4" prio=5 tid=15 Native
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12d750a0 self=0xb4836000
                         F  art/runtime/runtime.cc:289]   | sysTid=3381 nice=0 cgrp=default sched=0/0 handle=0xaf44aa80
                         F  art/runtime/runtime.cc:289]   | state=R schedstat=( 85000000 9000000 59 ) utm=5 stm=3 core=2 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xa43b5000-0xa43b7000 stackSize=1012KB
                         F  art/runtime/runtime.cc:289]   | held mutexes= "abort lock" "mutator lock"(shared held)
                         F  art/runtime/runtime.cc:289]   native: #00 pc 00004ef0  /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 000036d5  /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 002439d1  /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, 
                            art::mirror::ArtMethod*)+68)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 00227d79  /system/lib/libart.so (art::Thread::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+144)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 00217eef  /system/lib/libart.so (art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread
                            *)+22)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 00218155  /system/lib/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+364)
                         F  art/runtime/runtime.cc:289]   native: #06 pc 00218321  /system/lib/libart.so (art::Runtime::Abort()+72)
                         F  art/runtime/runtime.cc:289]   native: #07 pc 000a6e7b  /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
                         F  art/runtime/runtime.cc:289]   native: #08 pc 000b0b89  /system/lib/libart.so (art::JniAbort(char const*, char const*)+1076)
                         F  art/runtime/runtime.cc:289]   native: #09 pc 000b10e1  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
                         F  art/runtime/runtime.cc:289]   native: #10 pc 000b4229  /system/lib/libart.so (art::ScopedCheck::ScopedCheck(_JNIEnv*, int, char const*)+1292)
                         F  art/runtime/runtime.cc:289]   native: #11 pc 000bda2b  /system/lib/libart.so (art::CheckJNI::RegisterNatives(_JNIEnv*, _jclass*, JNINativeMethod const*, int)+26)
                         F  art/runtime/runtime.cc:289]   native: #12 pc 00004b59  /data/app/com.XXX.rcc-1/lib/arm/libipc_shared.so (JNI_OnLoad+44)
                         F  art/runtime/runtime.cc:289]   native: #13 pc 001d3619  /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1:
                            :allocator<char> > const&, art::Handle<art::mirror::ClassLoader>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1584)
                         F  art/runtime/runtime.cc:289]   native: #14 pc 001f874d  /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+528)
                         F  art/runtime/runtime.cc:289]   native: #15 pc 0007980d  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_String_2Ljava_lang_ClassLoad
                            er_2Ljava_lang_String_2+152)
                         F  art/runtime/runtime.cc:289]   at java.lang.Runtime.nativeLoad(Native method)
                         F  art/runtime/runtime.cc:289]   at java.lang.Runtime.doLoad(Runtime.java:428)
                         F  art/runtime/runtime.cc:289]   - locked <0x19133ef5> (a java.lang.Runtime)
                         F  art/runtime/runtime.cc:289]   at java.lang.Runtime.loadLibrary(Runtime.java:369)
                         F  art/runtime/runtime.cc:289]   at java.lang.System.loadLibrary(System.java:988)
                         F  art/runtime/runtime.cc:289]   at com.XXXX.rcc.IPC.<clinit>(IPC.java:13)
                         F  art/runtime/runtime.cc:289]   at com.XXXX.rcc.ble.controller.Device.onNotify(Device.java:114)
                         F  art/runtime/runtime.cc:289]   at com.XXXX.rcc.ble.Peripheral.onCharacteristicChanged(Peripheral.java:718)
                         F  art/runtime/runtime.cc:289]   at android.bluetooth.BluetoothGatt$1.onNotify(BluetoothGatt.java:438)
                         F  art/runtime/runtime.cc:289]   at android.bluetooth.IBluetoothGattCallback$Stub.onTransact(IBluetoothGattCallback.java:399)
                         F  art/runtime/runtime.cc:289]   at android.os.Binder.execTransact(Binder.java:446)
                         F  art/runtime/runtime.cc:289] Pending exception java.lang.ClassNotFoundException thrown by 'unknown throw location'
                         F  art/runtime/runtime.cc:289] java.lang.ClassNotFoundException: Didn't find class "com.XXXX.bleaudiorecord.activities.IPC" on path: DexPathList[[dex file "/data/data/com.XXXXX.rc
                            c/files/instant-run/dex/slice-support-annotations-24.0.0_763d8297ed49df800ced4fd9d883e9a577ee15ce-classes.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-sli
                            ce_9-classes.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_7-cl
                            asses.dex", dex file "/data/data/com.XXXXX.rcc/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_5-classes.d
                            ex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_3-classes.dex", de
                            x file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.XXXX.rcc/files/in
                         F  art/runtime/runtime.cc:289]   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
                         F  art/runtime/runtime.cc:289]   at java.lang.Class com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader.findClass(java.lang.String) (IncrementalClassLoader.java:9
                            0)
                         F  art/runtime/runtime.cc:289]   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:511)
                         F  art/runtime/runtime.cc:289]   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:469)
                         F  art/runtime/runtime.cc:289]   at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String) (Runtime.java:-2)
                         F  art/runtime/runtime.cc:289]   at java.lang.String java.lang.Runtime.doLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:428)
                         F  art/runtime/runtime.cc:289]   at void java.lang.Runtime.loadLibrary(java.lang.String, java.lang.ClassLoader) (Runtime.java:369)
                         F  art/runtime/runtime.cc:289]   at void java.lang.System.loadLibrary(java.lang.String) (System.java:988)
                         F  art/runtime/runtime.cc:289]   at void com.XXXX.rcc.IPC.<clinit>() (IPC.java:13)
                         F  art/runtime/runtime.cc:289]   at void com.XXXXX.rcc.ble.controller.Device.onNotify(byte[], java.util.UUID, java.util.UUID, java.lang.Object) (Device.java:114)
                         F  art/runtime/runtime.cc:289]   at void com.XXXXX.rcc.ble.Peripheral.onCharacteristicChanged(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattCharacteristic) (Periph
                            eral.java:718)
                         F  art/runtime/runtime.cc:289]   at void android.bluetooth.BluetoothGatt$1.onNotify(java.lang.String, int, int, android.os.ParcelUuid, int, android.os.ParcelUuid, byte[]) (BluetoothG
                            att.java:438)
                         F  art/runtime/runtime.cc:289]   at boolean android.bluetooth.IBluetoothGattCallback$Stub.onTransact(int, android.os.Parcel, android.os.Parcel, int) (IBluetoothGattCallback.java:399)
                         F  art/runtime/runtime.cc:289]   at boolean android.os.Binder.execTransact(int, long, long, int) (Binder.java:446)
                         F  art/runtime/runtime.cc:289] Dumping all threads without appropriate locks held: thread list lock mutator lock
                         F  art/runtime/runtime.cc:289] All threads:
                         F  art/runtime/runtime.cc:289] DALVIK THREADS (24):
                         F  art/runtime/runtime.cc:289] "main" prio=5 tid=1 Native
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x73049000 self=0xb4827800
                         F  art/runtime/runtime.cc:289]   | sysTid=3306 nice=0 cgrp=default sched=0/0 handle=0xb6f96bec
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 1139000000 200000000 934 ) utm=89 stm=24 core=2 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xbe07b000-0xbe07d000 stackSize=8MB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 0003a610  /system/lib/libc.so (__epoll_pwait+20)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 00015087  /system/lib/libc.so (epoll_pwait+26)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 00015095  /system/lib/libc.so (epoll_wait+6)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 00012417  /system/lib/libutils.so (android::Looper::pollInner(int)+98)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 00012641  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+92)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 000817d9  /system/lib/libandroid_runtime.so (android::NativeMessageQueue::pollOnce(_JNIEnv*, int)+22)
                         F  art/runtime/runtime.cc:289]   native: #06 pc 000b387b  /data/dalvik-cache/arm/system@framework@boot.oat (Java_android_os_MessageQueue_nativePollOnce__JI+102)
                         F  art/runtime/runtime.cc:289]   at android.os.MessageQueue.nativePollOnce(Native method)
                         F  art/runtime/runtime.cc:289]   at android.os.MessageQueue.next(MessageQueue.java:143)
                         F  art/runtime/runtime.cc:289]   at android.os.Looper.loop(Looper.java:122)
                         F  art/runtime/runtime.cc:289]   at android.app.ActivityThread.main(ActivityThread.java:5254)
                         F  art/runtime/runtime.cc:289]   at java.lang.reflect.Method.invoke!(Native method)
                         F  art/runtime/runtime.cc:289]   at java.lang.reflect.Method.invoke(Method.java:372)
                         F  art/runtime/runtime.cc:289]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
                         F  art/runtime/runtime.cc:289]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "Heap thread pool worker thread 0" prio=5 tid=2 Native (still starting up)
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x0 self=0xaf437400
                         F  art/runtime/runtime.cc:289]   | sysTid=3312 nice=0 cgrp=default sched=0/0 handle=0xb491a600
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 3000000 0 15 ) utm=0 stm=0 core=2 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb4227000-0xb4229000 stackSize=1020KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 000133bc  /system/lib/libc.so (syscall+28)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 000a983f  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 0023204f  /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+50)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 00231ff5  /system/lib/libart.so (art::ThreadPoolWorker::Run()+52)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 00232831  /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+52)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 00016ea3  /system/lib/libc.so (__pthread_start(void*)+30)
                         F  art/runtime/runtime.cc:289]   native: #06 pc 00014deb  /system/lib/libc.so (__start_thread+6)
                         F  art/runtime/runtime.cc:289]   (no managed stack frames)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "Heap thread pool worker thread 1" prio=5 tid=3 Native (still starting up)
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x0 self=0xb4827c00
                         F  art/runtime/runtime.cc:289]   | sysTid=3313 nice=0 cgrp=default sched=0/0 handle=0xb4918080
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 2000000 1000000 11 ) utm=0 stm=0 core=0 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb4125000-0xb4127000 stackSize=1020KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 000133bc  /system/lib/libc.so (syscall+28)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 000a983f  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 0023204f  /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+50)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 00231ff5  /system/lib/libart.so (art::ThreadPoolWorker::Run()+52)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 00232831  /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+52)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 00016ea3  /system/lib/libc.so (__pthread_start(void*)+30)
                         F  art/runtime/runtime.cc:289]   native: #06 pc 00014deb  /system/lib/libc.so (__start_thread+6)
                         F  art/runtime/runtime.cc:289]   (no managed stack frames)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "Heap thread pool worker thread 2" prio=5 tid=4 Native (still starting up)
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x0 self=0xaf438400
                         F  art/runtime/runtime.cc:289]   | sysTid=3314 nice=0 cgrp=default sched=0/0 handle=0xb4918300
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 1000000 0 5 ) utm=0 stm=0 core=0 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb4023000-0xb4025000 stackSize=1020KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 000133bc  /system/lib/libc.so (syscall+28)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 000a983f  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 0023204f  /system/lib/libart.so (art::ThreadPool::GetTask(art::Thread*)+50)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 00231ff5  /system/lib/libart.so (art::ThreadPoolWorker::Run()+52)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 00232831  /system/lib/libart.so (art::ThreadPoolWorker::Callback(void*)+52)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 00016ea3  /system/lib/libc.so (__pthread_start(void*)+30)
                         F  art/runtime/runtime.cc:289]   native: #06 pc 00014deb  /system/lib/libc.so (__start_thread+6)
                         F  art/runtime/runtime.cc:289]   (no managed stack frames)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "Signal Catcher" prio=5 tid=5 WaitingInMainSignalCatcherLoop
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c000a0 self=0xb4832c00
                         F  art/runtime/runtime.cc:289]   | sysTid=3315 nice=0 cgrp=default sched=0/0 handle=0xb4918580
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 1000000 0 3 ) utm=0 stm=0 core=1 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb3f1d000-0xb3f1f000 stackSize=1012KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 0003b1dc  /system/lib/libc.so (__rt_sigtimedwait+12)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 00018641  /system/lib/libc.so (sigwait+24)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 0021b76b  /system/lib/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+66)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 0021d26d  /system/lib/libart.so (art::SignalCatcher::Run(void*)+196)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 00016ea3  /system/lib/libc.so (__pthread_start(void*)+30)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 00014deb  /system/lib/libc.so (__start_thread+6)
                         F  art/runtime/runtime.cc:289]   (no managed stack frames)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "JDWP" prio=5 tid=6 WaitingInMainDebuggerLoop
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c050a0 self=0xaf439400
                         F  art/runtime/runtime.cc:289]   | sysTid=3316 nice=0 cgrp=default sched=0/0 handle=0xb4918800
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 327000000 9000000 239 ) utm=30 stm=2 core=3 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb3e1b000-0xb3e1d000 stackSize=1012KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 0003b448  /system/lib/libc.so (__pselect6+20)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 0001663b  /system/lib/libc.so (select+60)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 00283117  /system/lib/libart.so (art::JDWP::JdwpAdbState::ProcessIncoming()+186)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 00190369  /system/lib/libart.so (art::JDWP::JdwpState::Run()+348)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 00191893  /system/lib/libart.so (art::JDWP::StartJdwpThread(void*)+10)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 00016ea3  /system/lib/libc.so (__pthread_start(void*)+30)
                         F  art/runtime/runtime.cc:289]   native: #06 pc 00014deb  /system/lib/libc.so (__start_thread+6)
                         F  art/runtime/runtime.cc:289]   (no managed stack frames)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "ReferenceQueueDaemon" prio=5 tid=7 Waiting
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c060a0 self=0xb4828400
                         F  art/runtime/runtime.cc:289]   | sysTid=3317 nice=0 cgrp=default sched=0/0 handle=0xb4918a80
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 5000000 0 18 ) utm=0 stm=0 core=2 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb3d13000-0xb3d15000 stackSize=1036KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 000133bc  /system/lib/libc.so (syscall+28)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 000a983f  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 001ea2ab  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+998)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 001eb6c9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 001f82f1  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 000003df  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+82)
                         F  art/runtime/runtime.cc:289]   at java.lang.Object.wait!(Native method)
                         F  art/runtime/runtime.cc:289]   - waiting on <0x30dea48a> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
                         F  art/runtime/runtime.cc:289]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:134)
                         F  art/runtime/runtime.cc:289]   - locked <0x30dea48a> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
                         F  art/runtime/runtime.cc:289]   at java.lang.Thread.run(Thread.java:818)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "FinalizerDaemon" prio=5 tid=8 Waiting
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c06100 self=0xb4828800
                         F  art/runtime/runtime.cc:289]   | sysTid=3318 nice=0 cgrp=default sched=0/0 handle=0xb491a880
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 7000000 0 19 ) utm=0 stm=0 core=0 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb3c0b000-0xb3c0d000 stackSize=1036KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 000133bc  /system/lib/libc.so (syscall+28)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 000a983f  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 001ea2ab  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+998)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 001eb6c9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 001f82c9  /system/lib/libart.so (art::Object_waitJI(_JNIEnv*, _jobject*, long long, int)+36)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 0000060b  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+102)
                         F  art/runtime/runtime.cc:289]   at java.lang.Object.wait!(Native method)
                         F  art/runtime/runtime.cc:289]   - waiting on <0x31aa4afb> (a java.lang.ref.ReferenceQueue)
                         F  art/runtime/runtime.cc:289]   at java.lang.Object.wait(Object.java:422)
                         F  art/runtime/runtime.cc:289]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
                         F  art/runtime/runtime.cc:289]   - locked <0x31aa4afb> (a java.lang.ref.ReferenceQueue)
                         F  art/runtime/runtime.cc:289]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
                         F  art/runtime/runtime.cc:289]   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:174)
                         F  art/runtime/runtime.cc:289]   at java.lang.Thread.run(Thread.java:818)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "FinalizerWatchdogDaemon" prio=5 tid=9 Sleeping
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c06160 self=0xb4833c00
                         F  art/runtime/runtime.cc:289]   | sysTid=3319 nice=0 cgrp=default sched=0/0 handle=0xb491ab00
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 1000000 0 8 ) utm=0 stm=0 core=0 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb3b03000-0xb3b05000 stackSize=1036KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 000133c0  /system/lib/libc.so (syscall+32)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 000a95f3  /system/lib/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long long, int)+98)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 001ea099  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+468)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 001eb6c9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 00073319  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Thread_sleep__Ljava_lang_Object_2JI+132)
                         F  art/runtime/runtime.cc:289]   at java.lang.Thread.sleep!(Native method)
                         F  art/runtime/runtime.cc:289]   - sleeping on <0x017c9718> (a java.lang.Object)
                         F  art/runtime/runtime.cc:289]   at java.lang.Thread.sleep(Thread.java:1031)
                         F  art/runtime/runtime.cc:289]   - locked <0x017c9718> (a java.lang.Object)
                         F  art/runtime/runtime.cc:289]   at java.lang.Thread.sleep(Thread.java:985)
                         F  art/runtime/runtime.cc:289]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:258)
                         F  art/runtime/runtime.cc:289]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:269)
                         F  art/runtime/runtime.cc:289]   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:217)
                         F  art/runtime/runtime.cc:289]   at java.lang.Thread.run(Thread.java:818)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "HeapTrimmerDaemon" prio=5 tid=10 Sleeping
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c061c0 self=0xb4834000
                         F  art/runtime/runtime.cc:289]   | sysTid=3320 nice=0 cgrp=default sched=0/0 handle=0xb491ad80
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 2000000 1000000 6 ) utm=0 stm=0 core=2 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xb39fb000-0xb39fd000 stackSize=1036KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 0003b0ac  /system/lib/libc.so (nanosleep+12)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 00025485  /system/lib/libc.so (usleep+36)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 00142a9b  /system/lib/libart.so (art::gc::Heap::DoPendingTransitionOrTrim()+666)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 000003df  /data/dalvik-cache/arm/system@framework@boot.oat (Java_dalvik_system_VMRuntime_trimHeap__+82)
                         F  art/runtime/runtime.cc:289]   at dalvik.system.VMRuntime.trimHeap(Native method)
                         F  art/runtime/runtime.cc:289]   - sleeping on an unknown object
                         F  art/runtime/runtime.cc:289]   at java.lang.Daemons$HeapTrimmerDaemon.run(Daemons.java:313)
                         F  art/runtime/runtime.cc:289]   at java.lang.Thread.run(Thread.java:818)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "GCDaemon" prio=5 tid=11 Waiting
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c06220 self=0xb4834400
                         F  art/runtime/runtime.cc:289]   | sysTid=3321 nice=0 cgrp=default sched=0/0 handle=0xb491b000
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 59000000 3000000 21 ) utm=4 stm=1 core=3 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xafb21000-0xafb23000 stackSize=1036KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 000133bc  /system/lib/libc.so (syscall+28)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 000a983f  /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 001ea2ab  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, long long, int, bool, art::ThreadState)+998)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 001eb6c9  /system/lib/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long long, int, bool, art::ThreadState)+120)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 001f82f1  /system/lib/libart.so (art::Object_wait(_JNIEnv*, _jobject*)+32)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 000003df  /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__+82)
                         F  art/runtime/runtime.cc:289]   at java.lang.Object.wait!(Native method)
                         F  art/runtime/runtime.cc:289]   - waiting on <0x0ca5d571> (a java.lang.Daemons$GCDaemon)
                         F  art/runtime/runtime.cc:289]   at java.lang.Daemons$GCDaemon.run(Daemons.java:344)
                         F  art/runtime/runtime.cc:289]   - locked <0x0ca5d571> (a java.lang.Daemons$GCDaemon)
                         F  art/runtime/runtime.cc:289]   at java.lang.Thread.run(Thread.java:818)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "Binder_1" prio=5 tid=12 Native
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c530a0 self=0xaf43a400
                         F  art/runtime/runtime.cc:289]   | sysTid=3322 nice=0 cgrp=default sched=0/0 handle=0xb491b280
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 10000000 2000000 62 ) utm=0 stm=0 core=2 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xaf925000-0xaf927000 stackSize=1012KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 0003b980  /system/lib/libc.so (__ioctl+8)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 00052785  /system/lib/libc.so (ioctl+14)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 0001f38b  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 0001f87b  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 0001f8dd  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 00023a53  /system/lib/libbinder.so (???)
                         F  art/runtime/runtime.cc:289]   native: #06 pc 00010531  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
                         F  art/runtime/runtime.cc:289]   native: #07 pc 0005f921  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
                         F  art/runtime/runtime.cc:289]   native: #08 pc 000100a1  /system/lib/libutils.so (???)
                         F  art/runtime/runtime.cc:289]   native: #09 pc 00016ea3  /system/lib/libc.so (__pthread_start(void*)+30)
                         F  art/runtime/runtime.cc:289]   native: #10 pc 00014deb  /system/lib/libc.so (__start_thread+6)
                         F  art/runtime/runtime.cc:289]   (no managed stack frames)
                         F  art/runtime/runtime.cc:289]
                         F  art/runtime/runtime.cc:289] "Binder_2" prio=5 tid=13 Native
                         F  art/runtime/runtime.cc:289]   | group="" sCount=0 dsCount=0 obj=0x12c560a0 self=0xb4834c00
                         F  art/runtime/runtime.cc:289]   | sysTid=3323 nice=0 cgrp=default sched=0/0 handle=0xaf44a080
                         F  art/runtime/runtime.cc:289]   | state=S schedstat=( 33000000 34000000 80 ) utm=1 stm=1 core=2 HZ=100
                         F  art/runtime/runtime.cc:289]   | stack=0xaf827000-0xaf829000 stackSize=1012KB
                         F  art/runtime/runtime.cc:289]   | held mutexes=
                         F  art/runtime/runtime.cc:289]   native: #00 pc 0003b980  /system/lib/libc.so (__ioctl+8)
                         F  art/runtime/runtime.cc:289]   native: #01 pc 00052785  /system/lib/libc.so (ioctl+14)
                         F  art/runtime/runtime.cc:289]   native: #02 pc 0001f38b  /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138)
                         F  art/runtime/runtime.cc:289]   native: #03 pc 0001f87b  /system/lib/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+6)
                         F  art/runtime/runtime.cc:289]   native: #04 pc 0001f8dd  /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48)
                         F  art/runtime/runtime.cc:289]   native: #05 pc 00023a53  /system/lib/libbinder.so (???)
                         F  art/runtime/runtime.cc:289]   native: #06 pc 00010531  /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112)
                         F  art/runtime/runtime.cc:289]   native: #07 pc 0005f921  /system/lib/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+72)
                   libc  F  Fatal signal 6 (SIGABRT), code -6 in tid 3381 (Binder_4)
                  DEBUG  I  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
                         I  Build fingerprint: 'Android/aosp_g4418/g4418:5.1.1/LMY48G/rxs06291817:userdebug/test-keys'
                         I  Revision: '0'
                         I  ABI: 'arm'
                         I  pid: 3306, tid: 3381, name: Binder_4  >>> com.XXXX.rcc <<<
                         I  signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
                         I  Abort message: 'art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI RegisterNatives called with pending exception 'java.lang.ClassNotFoundException' thrown in unkn
                            own throw location'
                         I      r0 00000000  r1 00000d35  r2 00000006  r3 00000000
                         I      r4 a44b0db8  r5 00000006  r6 0000000b  r7 0000010c
                         I      r8 00000000  r9 b486f520  sl b4836000  fp 00000bb5
                         I      ip 00000d35  sp a44af8c0  lr b6e136bd  pc b6e36a64  cpsr 60070010
                         I  backtrace:
                         I  #00 pc 0003aa64  /system/lib/libc.so (tgkill+12)
                         I  #01 pc 000176b9  /system/lib/libc.so (pthread_kill+52)
                         I  #02 pc 000182d7  /system/lib/libc.so (raise+10)
                         I  #03 pc 00014a81  /system/lib/libc.so (__libc_android_abort+36)
                         I  #04 pc 00012f48  /system/lib/libc.so (abort+4)
                         I  #05 pc 00218379  /system/lib/libart.so (art::Runtime::Abort()+160)
                         I  #06 pc 000a6e7b  /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
                         I  #07 pc 000b0b89  /system/lib/libart.so (art::JniAbort(char const*, char const*)+1076)
                         I  #08 pc 000b10e1  /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
                         I  #09 pc 000b4229  /system/lib/libart.so (art::ScopedCheck::ScopedCheck(_JNIEnv*, int, char const*)+1292)
                         I  #10 pc 000bda2b  /system/lib/libart.so (art::CheckJNI::RegisterNatives(_JNIEnv*, _jclass*, JNINativeMethod const*, int)+26)
                         I  #11 pc 00004b59  /data/app/com.XXXX.rcc-1/lib/arm/libipc_shared.so (JNI_OnLoad+44)
                         I  #12 pc 001d3619  /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::Handle
                            <art::mirror::ClassLoader>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1584)
                         I  #13 pc 001f874d  /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+528)
                         I  #14 pc 0007980d  /data/dalvik-cache/arm/system@framework@boot.oat
                         I  pidname=[bmic] wait 3 sec---Count=[212]
                  DEBUG  I  Tombstone written to: /data/tombstones/tombstone_01
        ActivityManager  W    Force finishing activity 1 com.XXX.rcc/.activities.MainActivity
           BootReceiver  I  Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
        InputDispatcher  W  channel '4535854 com.XXX.rcc/com.XXXX.rcc.activities.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
                         E  channel '4535854 com.XXX.rcc/com.XXX.rcc.activities.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
                 Zygote  I  Process 3306 exited due to signal (6)
     BtGatt.GattService  D  Binder is dead - unregistering client (5)!
        ActivityManager  W  Exception thrown during pause
                         W  android.os.DeadObjectException
                         W      at android.os.BinderProxy.transactNative(Native Method)
                         W      at android.os.BinderProxy.transact(Binder.java:496)
                         W      at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:704)
                         W      at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:825)
                         W      at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2726)
                         W      at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2583)
                         W      at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2497)
                         W      at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:11500)
                         W      at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:11397)
                         W      at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:12081)
                         W      at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:11592)
                         W      at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
BtGatt.AdvertiseManager  D  message : 1
            WindowState  I  WIN DEATH: Window{4535854 u0 com.XXX.rcc/com.XXX.rcc.activities.MainActivity}
        InputDispatcher  W  Attempted to unregister already unregistered input channel '4535854 com.XXXX.rcc/com.XXX.rcc.activities.MainActivity (server)'
BtGatt.AdvertiseManager  D  stop advertise for client 5
     BtGatt.GattService  D  onAdvertiseInstanceDisabled() - clientIf=5, status=0
                bt-btif  E  Do not find the bg connection mask for the remote device
     BtGatt.GattService  D  Client app is not null!
BtGatt.AdvertiseManager  D  failed onAdvertiseInstanceDisabled
                         D  android.os.DeadObjectException
                         D      at android.os.BinderProxy.transactNative(Native Method)
                         D      at android.os.BinderProxy.transact(Binder.java:496)
                         D      at android.bluetooth.IBluetoothGattCallback$Stub$Proxy.onMultiAdvertiseCallback(IBluetoothGattCallback.java:874)
                         D      at com.android.bluetooth.gatt.GattService.onAdvertiseInstanceDisabled(GattService.java:1233)
                         D      at com.android.bluetooth.gatt.AdvertiseManager$AdvertiseNative.stopAdvertising(AdvertiseManager.java:318)
                         D      at com.android.bluetooth.gatt.AdvertiseManager$ClientHandler.handleStopAdvertising(AdvertiseManager.java:212)
                         D      at com.android.bluetooth.gatt.AdvertiseManager$ClientHandler.handleMessage(AdvertiseManager.java:175)
                         D      at android.os.Handler.dispatchMessage(Handler.java:102)
                         D      at android.os.Looper.loop(Looper.java:135)
                         D      at android.os.HandlerThread.run(HandlerThread.java:61)
                         D  app died - unregistering client : 5
     BtGatt.GattService  D  unregisterClient() - clientIf=5
        lowmemorykiller  E  Error opening /proc/3306/oom_score_adj; errno=2
     BtGatt.GattService  D  onDisconnected() - clientIf=5, connId=5, address=C7:E4:E3:E2:E1:A0
      BtGatt.ContextMap  E  Context not found for ID 5
                    art  W  Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.crashApplication(com.android.server.am.ProcessRecord, android.app.ApplicationErro
                            rReport$CrashInfo) from ActivityManagerService.java:12027 waiters=0 for 200ms

                            Process com.XXXX.rcc (PID: 3306) ended

        ActivityManager  I  Process com.XXXX.rcc (pid 3306) has died
                         W  Scheduling restart of crashed service com.XXXX.rcc/.AutoConnectService in 1000ms
         OpenGLRenderer  D  Use EGL_SWAP_BEHAVIOR_PRESERVED: true
                  Atlas  D  Validating map...
               Launcher  W  setApplicationContext called twice! old=com.android.launcher3.LauncherApplication@28f483be new=com.android.launcher3.LauncherApplication@28f483be
           ResourceType  W  Attempt to retrieve bag 0x7f0d0008 which is invalid or in a cycle.
         OpenGLRenderer  I  Initialized EGL, version 1.4
                         D  Enabling debug mode 0
            [EGL-ERROR]  E  EGLBoolean __egl_platform_create_surface_window(egl_surface*, mali_base_ctx_handle):933: =========> usage 0x900
               Launcher  D  11683562 - bindAddScreens()
                         D  11683562 -   orderedScreenIds: 3
     Launcher.Workspace  D  11683562 - insertNewWorkspaceScreen(): 3 at index: 0
            [EGL-ERROR]  E  EGLBoolean __egl_platform_create_surface_window(egl_surface*, mali_base_ctx_handle):933: =========> usage 0x900
          WindowManager  V  Adding window Window{102990b4 u0 com.android.launcher3/com.android.launcher3.Launcher} at 2 of 9 (after Window{4535854 u0 com.XXXX.rcc/com.XXXX.rcc.activities.MainActivity EXI
                            TING})
            [EGL-ERROR]  E  EGLBoolean __egl_platform_create_surface_window(egl_surface*, mali_base_ctx_handle):933: =========> usage 0x900
                         I  pidname=[bmic] wait 3 sec---Count=[213]

                            Process com.XXXX.rcc created for service com.XXXX.rcc/.AutoConnectService
                            PID: 5036   UID:    GIDs: 

        ActivityManager  I  Start proc 5036:com.XXXX.rcc/u0a57 for service com.XXXX.rcc/.AutoConnectService
</span>


从里面可以看到,其应该到

<span style="font-family:Microsoft YaHei;font-size:18px;">/data/app/com.XXX.rcc-1/lib/arm/libipc_shared.so</span>

中去调用对应的native函数,但是jni反过来查找java class的时候不对:

java.lang.ClassNotFoundException: Didn't find class "com.XXX.YYYY.activities.IPC" on path: DexPathList[[dex file "/data/data/com.XXXX.rc
                            c/files/instant-run/dex/slice-support-annotations-24.0.0_763d8297ed49df800ced4fd9d883e9a577ee15ce-classes.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-sli
                            ce_9-classes.dex", dex file "/data/data/com.XXXXX.rcc/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.XXXXX.rcc/files/instant-run/dex/slice-slice_7-cl
                            asses.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_5-classes.d
                            ex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_3-classes.dex", de
                            x file "/data/data/com.XXXX.rcc/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.XXXX.rcc/files/in
                         F  art/runtime/runtime.cc:289]   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)


因此可以判断是jni代码中写的查找被调用的java class path不正确。将其更正即可。

  • 5
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值