且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法打开日志设备“的/ dev /日志/主':权限被拒绝

更新时间:2022-12-19 23:07:15

它归类在排名前10位糟糕的权限和豆形软糖中关闭,从谷歌的回答:

It's classified on top 10 bad permissions and turned off in jellybean, the answer from google:

丹贾沛年:读系统日志。现在,我已经得到了坏消息你们。如果
  你有没有看过我们的其他一些presentations的,阅读系统日志
  实际上走了为J的有没有更多的阅读系统日志,你
  可以得到。但是允许你,没有允许,
  读取系统日志为自己的应用程序。因此,好消息是没有令人毛骨悚然
  刺探用户正在通过打开其读取系统日志做
  允许。而在同一时间,你仍然可以得到有用的日志
  你需要帮助您的调试如果崩溃记录和所有的
  的东西,我们对谷歌Play是不够的。

Dan Galpin: Read system log. Now, I've got bad news for you guys. If you haven't watched some of our other presentations, read system log actually is gone as of J. There is no more read system log that you can get. However allows you, without a permission, to read the system log for your own app. So the good news is no creepy spying on what the user is doing by turning on their read system log permission. And at the same time you can still get to the useful logs you need to help your debugging if the crash recording and all the stuff we have on Google Play isn't enough.

参考: http://youtu.be/WDDgoxvQsrQ?t=22m3s