How to analyse the bug report, ANR in POWEROFF and ON senarios in android mobile and TV applications
- Tried to analyse the crash using ADB logs.
- Tried to get the class names in the logs.
Issues:
- Unable to find the class names in ADB logs as the names are encrypted.
- some errors does not have any data about the crashes.(Eg: Input dispatching timeout)
Required:
Need to analyse the detailed explanation about the ANR with bug report.
Generally, unlike crashes, there is no useful backtrace in the adb logcat for ANRs.
However, for ANRs, you can pull the
/data/anr/traces.txtand find some useful information inside thetraces.txt, please refer to Pull anr traces fileThen if you find the stack trace inside the
traces.txtis obfuscated, then you can use your mapping file and retrace tool to Retracing stacktraces to analyze the original stack trace.