1.adb進入到/data/anr即可看到ANR日誌,也可直接在android studio的Device File Explorer中找到 2.查看ANR關鍵日誌: 找到group=「main」,就是android主線程阻塞導致anr的地方