Cha*_*nga 11 android libc firebase crashlytics anr
我们的移动应用程序已发布在 Google Play 商店中。崩溃和 ANR 报告在 Firebase Crashlytics 中生成。出现如下所示的ANR。
0 libc.so(系统调用+28)
1 libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+140)
2 libart.so (art::ThreadList::WaitForOtherNonDaemonThreadsToExit(bool)+336)
3 libart.so(艺术::JII::DestroyJavaVM(_JavaVM*)+32)
4 libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vectorandroid::String8 const&, bool)+1032)
5 app_process64(主+1368)
6 libc.so (__libc_init+96)
这个ANR是什么意思?
先感谢您。
小智 4
我相信它与移动应用程序中添加的一些阻止屏幕睡眠的例程有关。例如:如果您的移动应用程序使用以下代码来阻止屏幕休眠“getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);” 这个问题不是特定于设备的,我也在运行 Android 11 的 Samsung Galaxy Active Tab 上遇到过这个问题。您应该尝试删除所有屏幕阻止代码。谢谢。
归档时间: |
|
查看次数: |
4899 次 |
最近记录: |