eclipse报错: permission is only granted to system apps
来源:互联网 发布:网店美工毕业论文 编辑:程序博客网 时间:2024/06/05 17:17
关于eclipse报错:permission is only granted to system apps
安卓项目中,需要修改androidmanifest.xml文件里的uses-permission,添加了以下的代码
<uses-permission android:name="android.permission.HARDWARE_TEST"/>
<uses-permission android:name="android.permission.INSTALL_PACKAGES"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
android.permission.HARDWARE_TEST 这个是允许访问硬件。
android.permission.INSTALL_PACKAGES 允许程序安装应用
android.permission.WRITE_EXTERNAL_STORAGE 这个是设置内置sd卡的写权限
可是,修改后eclipse马上来个报错说是 permission is only granted to system apps 。这时候,千万别被迷惑了,这个报错的解决方法是在eclipse的菜单依次点击project->clean,然后可以了。
这是一个神奇的clean啊,它是将所有的以前编译信息清除,以便我们后面再重新run编译。
我们发现经常修改AndroidManifest.xml的时候,它都会会惊动警惕的编译器报错。
怎么办?只好再次 clean咯。
- eclipse报错: permission is only granted to system apps
- “permission is only granted to system apps ” eclipse 调试修改
- Eclipse 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
- 反转字符串的单词
- 用况图学习总结--OOAD
- 用Org-mode实践《奇特的一生》
- bzoj1433[ZJOI2009]假期的宿舍
- Android ListView加载更多
- eclipse报错: permission is only granted to system apps
- java语言的科学与艺术 第六章 课后编程
- C和指针 学习笔记-3.数组与指针
- 关于面向对象的一些思想--OOAD
- final关键字 -----JAVA基础-------
- 学习OpenCV 第二版<1-4>:The Origin of OpenCV
- 2014百度之星复赛解题报告:The Patterns
- 黑马程序员-------分支结构
- Mysql基础知识