Permission is only granted to system apps的解决办法
来源:互联网 发布:seo专业优化公司 编辑:程序博客网 时间:2024/05/29 09:21
下午做个demo测试,在AndroidManifest中加了这么一段权限,就报错了:
<uses-permission android:name="android.permission.DUMP" />
报错如下:
然后网上查了下,解决方法如下:
此类权限仅授予系统级应用,可以修改下Link Error Checking项的安全级别;In Eclipse: Window -> Preferences -> Android -> Lint Error Checking在ID列表中,找到ID = ProtectedPermission,设置Serverity低于Error,比如Warning级别就好了。
但看到好多博客都提到了只需clean一下就可以了。于是尝试了下,果然有效。
解决方法:选择project---clean,之后,就不再报错了。
0 0
- Permission is only granted to system apps的解决办法
- permission is only granted to system apps 解决办法
- permission is only granted to system apps
- Permission is only granted to system apps
- permission is only granted to system apps
- Permission is only granted to system apps
- permission is only granted to system apps .
- permission is only granted to system apps
- Permission is only granted to system apps
- permission is only granted to system apps
- Permission is only granted to system apps
- Permission is only granted to system apps
- Permission is only granted to system apps
- Permission is only granted to system apps
- Permission is only granted to system apps
- Permission is only granted to system apps
- Permission is only granted to system apps
- android开发在设置权限出现Permission is only granted to system apps错误的解决办法
- 黑马程序员——继承,多态,方法重写总结
- Internet路由-主机路由表和转发表
- linux top命令
- select sysdate - 3 from dual (计算3天前日期)
- LeetCode(100) Same Tree
- Permission is only granted to system apps的解决办法
- 剑指offer - 包含min函数的栈
- A time to be promoted
- 《深入理解Linux网络技术内幕》阅读笔记(八)
- [Leetcode]Rotate Image
- 文章标题
- 如何用kill安全杀掉clusterware
- IOS Quartz 各种绘制图形用法---实现画图片、写文字、画线、椭圆、矩形、棱形等
- W3school学习笔记之CSS