无法打开堆栈跟踪文件“/data/anr/traces.txt/:权限被拒绝 [英] Unable to open stack trace file '/data/anr/traces.txt/: Permission denied

查看:299
本文介绍了无法打开堆栈跟踪文件“/data/anr/traces.txt/:权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手,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.

这篇关于无法打开堆栈跟踪文件“/data/anr/traces.txt/:权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆