lyrebird-android icon indicating copy to clipboard operation
lyrebird-android copied to clipboard

在高版本Android系统下,无法直接导出/data/anr/traces.txt

Open youngfreeFJS opened this issue 3 years ago • 0 comments

在Android11系统运行时,模拟器发生了ANR,但Lyrebird 日志提示:ERROR [android_helper] Catch ANR log error! 在对应插件文件夹下/anr路径中也没有trace日志

adb shell 到模拟器的/data/anr路径下,也的确没有traces.txt文件存在 image

搜索后,有人反馈,在Android9以上,需要通过adb bugreport获取anr文件 https://stackoverflow.com/questions/5316322/android-how-to-obtain-data-anr-traces-txt-from-samsung-galaxy-tab/58128529 image

youngfreeFJS avatar Nov 25 '21 03:11 youngfreeFJS