How to read stack trace file in Android?

I am trying to print logs on screen. But this shows an error that:

Unable to open stack trace file '/data/anr/traces.txt':Permission denied.

How can I access the stack trace file?

+3
source share
2 answers

All stack trace is printed in LogCat , so go to the DDMS window and select the LogCat tab .

If the log cat does not appear, select the device tab from DDMS and select your device on which you are testing.

If both tabs are not visible to you, look at the lower left corner of Eclipse, click the sign +and selectLogCat

+1
source

, eclipse, ddms.

0

All Articles