消除“Permission is only granted to system apps”错误 .
来源:互联网 发布:淘宝直通车图片大小 编辑:程序博客网 时间:2024/06/12 23:13
在AndroidManifest.xml中使用了如下的配置:
<uses-permission android:name="android.permission.INSTALL_PACKAGES" />
就会报错:Permission is only granted to system apps
原因如下:
此类权限仅授予系统级应用,可以修改下Link Error Checking项的安全级别;
In Eclipse: Window -> Preferences -> Android -> Lint Error Checking
在ID列表中,找到ID = ProtectedPermission,设置Serverity低于Error,比如Warning级别就好了。
0 0
- 消除“Permission is only granted to system apps”错误
- Android--消除“Permission is only granted to system apps”错误
- Android--消除“Permission is only granted to system apps”错误
- 消除“Permission is only granted to system apps”错误
- Android--消除“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 .
- ShaderLab基础一
- Dump文件生成与分析
- 图形输出
- tomcat架构分析(valve机制)
- 【SSM-MyBatis框架】逆向工程
- 消除“Permission is only granted to system apps”错误 .
- linux下python3.4配置matplotlib的问题
- Xcode7 添加PCH文件
- 一些基本的opencv图像预处理函数直接用法(灰度化,otsu二值化,腐蚀膨胀,canny)
- [DP] BZOJ 2958 序列染色
- ubuntu 15.04 安装genymotion
- Too many alarms (500) registered
- 九针串口接线问题, 232, 485
- 漫谈程序员(十二)IT程序猿之猿体是革命的本钱