permission is only granted to system apps错误

来源:互联网 发布:离线自学武术软件 编辑:程序博客网 时间:2024/05/21 19:27

网上找的方法,看了太多。出处已经不知道了。

1.直接clean项目。

2.解决方法:

In Eclipse:
Window -> Preferences -> Android -> Lint Error Checking.
在ID列表中,找到ID = ProtectedPermission,设置Serverity低于Error,比如Warning级别就好了。
原创粉丝点击