After debugging the real development app, uninstall the app-debug-unattended normally, and then install the signed version of the release-app, and you will be prompted to change the xxx version. Press OK to prompt incompatibility, and the installation failed.
Analysis: It has been uninstalled before installation. According to the truth, you should not be prompted to change xxx. It must be because the uninstall is not clean (other mobile phones don't have this problem). It should be the problem of Meizu built-in application management uninstallation.
Solution:
1. If you are an Android developer, you can uninstall the app through the adb shell command in Android Studio.
//Uninstall the application
Pm uninstallation {package name}
Then try to install the released version of the application again.
2. Upload apk to your mobile phone
Adb push /{path}/{app_name}. apk/data/local/tmp/{ package _ name }
Install apk
//into the shell
ADB Shell
//Uninstall the application
Pm uninstallation {package name}
//Install the application
Pnimstall-r "/data/local/tmp/{package name}" pkg:/data/local/tmp/{ package name}
Please replace {path} {app_name} and {package_name} in the command yourself.
3. Open RE, then delete everything related to the package name in data\data, data\app, data\dalvik-cache\arm64, copy the packages.xml file in data\system to the computer (it is recommended to use the Android device monitor that comes with Android Studio), and find the relevant package name.
Note: The data\system\packages.xml file is used to record application attribute permissions, similar to the registry. If the user deletes this file himself, PackageManagerService will restart the phone and restore the application according to the records in packages-backup.xml
4. uninstall the app again through flyme guest mode.
Step 1:
Go to the phone's Settings-Security (Fingerprint and Security).
Step two:
Select "Guest Mode"
Step 3:
Turn on guest mode and remember the password.
Step 4:
Lock the screen and use the "guest password" just now to enter the system. Remember, this is a guest password, not your usual password.
Step five:
After entering the desktop, those "ghost applications" appeared! Uninstall at this time, and it will be OK! ! Finally, lock the screen again and enter the normal mode!
The above scheme is effective in the pretest.
Have fun ~
Reference website:
1.blogs.com/eniac 12/p/5926362.html
3./content/ 16/0728/20/33057485 _ 579 160772 . shtml