The following configuration is used in androidmanifest.xml:
<uses-permissionandroid:name="android.permission.INSTALL_PACKAGES"/>
<uses-permissionandroid:name="android.permission.DELETE_PACKAGES"/>
An error will be reported: permission is only granted to system apps
The reasons are as follows:
This kind of permission is only granted to the system level application, and the security level of the link error checking item can be modified
Solution:
In Eclipse: Window -> Preferences -> Android -> Lint Error Checking
Find correction – > in the ID column; Protectedpermission, set serverity lower than error, such as warning level
Similar Posts:
- Android Call requires API level 11 [How to Solve]
- Socket failed:EACCES(Permission denied) [How to Solve]
- Permissions required by Vibrator.vibrate: android.permission.VIBRATE
- Call requires API level 4 (current min is 3) [How to Solve]
- Android Error: open failed: EACCES (Permission denied)
- OS Error: No address associated with hostname, errno = 7 [How to Solve]
- How to Solve Android Error: java.lang.SecurityException: Permission Denial
- Project interpreter not specified(eclipse+pydev)
- [Solved] Syntax error, parameterized types are only available if source level is 1.5
- Eclipse reports “there are no staged files” by using git submission code