您的位置:首页 > 移动开发

Permission is only granted to system apps

2012-12-28 12:36 555 查看
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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: