permission is only granted to system apps .
来源:互联网 发布:梦里花落知多少小说阅读 编辑:程序博客网 时间:2024/05/22 13:37
今天在开发一个项目的时候,需要在AndroidManifest.xml中加入
<uses-permission android:name="android.permission.STATUS_BAR" />
结果eclipse马上报错,来了个红叉叉,说是 permission is only granted to system apps 。
心想, 正常的加入一个权限代码怎么就会报错了,然后,尝试了好几回重新添加,也检测了代码,都没有问题,然后就郁闷了。。。。
百思不得其解的时候,同事告诉我,Clean 一下工程试试,尼玛,果然,Clean 一下后,红叉叉立马不见了。。
然后build 也没有问题了。。。。
确实很无语。。。 这是为什么了。。。。
解决方法: 点eclipse的菜单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解决方法
- Mark一下 Permission is only granted to system apps
- permission is only granted to system apps错误
- hdu acm中规律题总结
- 网络经济与企业管理(浏览)
- linux定时运行命令脚本——crontab(文章太棒了,转载保存)
- 什么是MES
- 转载_比微软kinect更强的视频跟踪算法--TLD跟踪算法介绍 .
- permission is only granted to system apps .
- int 和 Integer的区别
- iOS获取当前网页的页面元素
- c 语言常见的字符函数
- LeetCode-Pow(x, n)
- 汉字转拼音帮助类(包含完整拼写和首字母拼写)
- PHP
- HTML div标签内部组件导致onmouseout事件调用问题
- ajax 、ajax的交互模型、如何解决跨域问题——面试题