Common errors and solutions when installing apk files

1. INSTALL_FAILED_INVALID_APK: Invalid installation package, the installation package is damaged, 
please check whether the installation package is complete. If it is an xpk package, you can check it by manually installing xpk. If it is an apk package, please download it again. 
2. INSTALL_FAILED_OLDER_SDK: The system version is too low 
and the current program does not support your mobile phone. 
3. INSTALL_FAILED_INSUFFICIENT_STORAGE: There is not enough storage space. 
4. INSTALL_FAILED_INVALID_INSTALL_LOCATION: Invalid installation location. 
5. INSTALL_CANCELED_BY_USER: The system prohibits the installation of applications from unknown sources. 
This needs to be modified in the Android system settings, check the unknown sources in the security options, and allow the installation. 
6. INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES: The installation package signature is inconsistent. 
This problem is mainly caused by a signature conflict. For example, if you use the ADB debug permission signature, but after using the standard sign signature to install the same file, such an error message will appear. The solution In addition to uninstalling the original version from the phone honestly and then installing it, the adb install -r parameter cannot solve this problem. 
7. INSTALL_FAILED_INVALID_URI: 
The application name is Chinese, and this problem occurs when adb install Chinese.apk. It is OK to change it to English name. 
8. INSTALL_FAILED_USER_RESTRICTED: 
There are applications in the mobile phone system that prevent the installation. For example, the mobile phone manager in the Meizu mobile phone has the authority to monitor the usb installation of apk. Turn off this permission, you can.

Guess you like

Origin blog.csdn.net/m0_49508485/article/details/128207751