Android: How to obtain data/anr/traces.txt from Samsung Galaxy Tab?

前端 未结 4 2075
既然无缘
既然无缘 2020-12-08 21:03

My application gives an anr while debugging on my Samsung Galaxy Tab. The device is viewable in DDMS in Eclipse, and I can browse the sdcard with the DDMS file explorer. B

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-08 21:41

    for Android Pie

    adb bugreport ./bugreport.zip
    

    and you will get then in zip file

    bugreport/FS/data/anr/*
    bugreport/FS/data/tombstones/*
    

提交回复
热议问题