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

Unable to open stack trace file '/data/anr/traces.txt/: Permission denied
权限问题,一般在模拟器上碰到。

Make sure adb is in you system path or cd to it first.
Then try the following:
启动模拟器后,在cmd下输入:<全路径>adb shell
adb shell
cd \data
chmod 777 anr

Then try again.
Don't ask me why the permissions go wonky, but I've had this too.

posted on 2013-04-02 12:35  亲善美  阅读(1139)  评论(0编辑  收藏  举报