你好,我在 mac
上更新了我的 android studio
Android Studio 4.1
Build #AI-201.8743.12.41.6858069, built on September 23, 2020
Runtime version: 1.8.0_242-release-1644-b3-6222593 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.15.7
GC: ParNew, ConcurrentMarkSweep
Memory: 2014M
Cores: 4
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: org.jetbrains.kotlin
更新 Android Studio 4.1
后,我在 Logcat
中发现问题
I Am Not Able To See My debuggable Process After App Crash in Logcat
每当我的应用程序在移动设备中崩溃时,新进程启动就可以了
但旧的可调试进程未显示在下拉选择中......因此我无法跟踪我的崩溃或错误
在所附的屏幕截图中,进程号:- 9018 是新进程,旧进程已从下拉列表中消失
最佳答案
在 Logcat 中设置包过滤器以显示应用程序包的错误消息。
打开 Logcat,单击“编辑过滤器配置”。 然后,在“过滤器名称”中填写您要过滤的包名称。接下来,添加包名称并单击“确定”。
瞧,它现在应该可以正常工作,而无需清除 Logcat 输出。
关于android - android studio中应用程序崩溃后错误日志和进程自动清除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64399569/