「Android/crash/ANR」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「==ANRとは== Application Not Responding メインスレッド上で5秒以上かかる処理を実行するとでる 参考:http://yuyakaido.hatenablog.com/entry/201...」) |
|||
| 行3: | 行3: | ||
メインスレッド上で5秒以上かかる処理を実行するとでる | メインスレッド上で5秒以上かかる処理を実行するとでる | ||
| + | |||
| + | 端末の/data/anr/traces.txtにログが吐かれる | ||
参考:http://yuyakaido.hatenablog.com/entry/2014/12/30/161157 | 参考:http://yuyakaido.hatenablog.com/entry/2014/12/30/161157 | ||
| + | ==接続端末にデータを持ってくる== | ||
| + | adb pull /data/anr/traces.txt ~/ | ||
2018年9月19日 (水) 14:10時点における版
ANRとは
Application Not Responding
メインスレッド上で5秒以上かかる処理を実行するとでる
端末の/data/anr/traces.txtにログが吐かれる
参考:http://yuyakaido.hatenablog.com/entry/2014/12/30/161157
接続端末にデータを持ってくる
adb pull /data/anr/traces.txt ~/
