how to access android files /data/anr/traces.txt and /data/tombstones/tombstones
android, tombstone
Solution
You can use adb tool located in your_sd_root_dir/tools. Use it like this
./adb pull path_to_file location_to_save
Problem
I am writing an application for reporting crashes and the relevant logs. So from my application I am trying to access traces.txt and tombstones, but I am getting an error: ``` 03-25 09:48:46.220 W/System.err(10250): java.io.FileNotFoundException: /data/tombstone/tombstone_00 (Permission denied) ``` I am able to access traces.txt, but not tombstones.