Permission is only granted to system apps

来源:互联网 发布:centos中文字体 编辑:程序博客网 时间:2024/05/20 11:24
http://stackoverflow.com/questions/13801984/permission-is-only-granted-to-system-app


加 <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
时,出现
Permission is only granted to system apps
错误。


解决:
In Eclipse:
Window -> Preferences -> Android -> Lint Error Checking.
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.



原创粉丝点击