首页 > 解决方案 > Android libandroid_runtime.so 崩溃

问题描述

该应用程序遇到崩溃并报告给 Google Play。

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.my.app <<<

backtrace:
#00  pc 0000000000163610  /system/lib64/libandroid_runtime.so (android::android_os_fileobserver_observe(_JNIEnv*, _jobject*, int)+216)
#00  pc 000000000023b6f4  /system/framework/arm64/boot-framework.oat (art_jni_trampoline+132)
#00  pc 00000000006be94c  /system/framework/arm64/boot-framework.oat (android.os.FileObserver$ObserverThread.run+44)
#00  pc 0000000000134564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
#00  pc 00000000001a9a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#00  pc 000000000055e1d8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460)
#00  pc 00000000005ad99c  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1308)
#00  pc 00000000000b0228  /apex/com.android.runtime/lib64/bionic/libc.so!libc.so (offset 0x9c000) (__pthread_start(void*)+64)
#00  pc 000000000005070c  /apex/com.android.runtime/lib64/bionic/libc.so!libc.so (offset 0x3b000) (__start_thread+64)

崩溃仅发生在 Android 11 上,几乎涵盖所有设备。

该应用程序是 Cordova 应用程序。

标签: androidcordova

解决方案


推荐阅读