本文介绍了权限仅授予系统应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我有一个使用系统权限的系统应用程序,我有清单中列出的那些权限。当我尝试进行构建(命令行构建)时,Eclipse会给出以下错误:在列表中找到一个条目,其中 ID = ProtectedPermission 。将严重性设置为低于错误。这样,您仍然可以使用Eclipse编译项目。 在Android Studio中 文件 - >设置 - >编辑器 - >检查 在下Lint ,找到使用系统应用程序权限。取消选中复选框或选择严重性低于错误。 I have a System app that uses system permissions and I have those permissions listed in the manifest. Eclipse gives the following error when I try to make a build(command line build works):I'm already aware that my app requires system permissions and it is not a problem for me because my application will be used only on rooted phones. So I want to suppress this error, anyone knows how?EDITMy project already compiles fine on command line, installs, runs etc.. My problem is about eclipse giving an error for a legit manifest file. 解决方案 In Eclipse: In the list find an entry with ID = ProtectedPermission. Set the Severity to something lower than Error. This way you can still compile the project using Eclipse.In Android Studio:Under Android Lint, locate Using system app permission. Either uncheck the checkbox or choose a Severity lower than Error. 这篇关于权限仅授予系统应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!