Android unable to run logcat from application

家住魔仙堡 提交于 2019-11-29 16:53:11
MattC

And the moral of the story is: double check that your permission in your manifest file actually says READ_LOGS and not just READ_LOG.

Just in case somebody runs into the same problem I had: When trying to read logcat from a Unit test, the permission needs to be added to the application under test, not the test project. Adding the permission to the test project only will still give permission errors.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!