无法打开堆栈跟踪文件“/data/anr/traces.txt/:权限被拒绝堆栈、无法打开、被拒、权限

由网友(帅到天理不容)分享简介:我是新手,Android开发者和放大器;我从这本书中学习的Andr​​oid http://www.informit.com/store/ product.aspx?ISBN = 9780321673350 I am novice android developer & i am learning androi...

我是新手,Android开发者和放大器;我从这本书中学习的Andr​​oid http://www.informit.com/store/ product.aspx?ISBN = 9780321673350

I am novice android developer & i am learning android from this book http://www.informit.com/store/product.aspx?isbn=9780321673350

我在第10章。

一切工作正常,但是当我点击设置选项卡比下面的错误闪烁 - 无法打开堆栈跟踪文件/data/anr/traces.txt/:权限被拒绝

Everything is working fine but when i click on "settings" tab than the following error flashes - Unable to open stack trace file '/data/anr/traces.txt/: Permission denied

&放大器;在这之后我看到的是一个空白屏幕。

& after this all i see is a blank screen.

请指引我

感谢

推荐答案

请确保亚行是在你的系统路径或光盘来首次。 然后尝试以下操作:

Make sure adb is in you system path or cd to it first. Then try the following:

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.

阅读全文

相关推荐

最新文章