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

前端 未结 4 2071
既然无缘
既然无缘 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:30

    On some devices the traces file is called traces.txt.bugreport for whatever reason. See the other answers for pulling the file to your device.

    0 讨论(0)
  • 2020-12-08 21:40

    You can fetch the file using the following command:

    adb pull /data/anr/traces.txt

    Hope this helps, Francisco.

    0 讨论(0)
  • 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/*
    
    0 讨论(0)
  • 2020-12-08 21:54

    Try this command. it is hassle free. adb shell "cat /data/anr/traces.txt" | less

    0 讨论(0)
提交回复
热议问题