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.
加 <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.