Original URL: http://bbs.9ria.com/thread-245162-1-1.html
Use the ADB shell to enter the system, enter/data/app or/data/data, delete the same package name as the apk you installed;
Press CTRL + C to exit the system, use the ADB pull/data/system/packages.xml command to place the Packages.xml on your PC locally, and then find the package name you need to delete to a piece of data. For example:
- <package name= "Com.android.wallpaper" codepath= "/system/app/livewallpapers.apk" nativelibrarypath= "/data/data/ Com.android.wallpaper/lib "flags=" 1 "ft=" 11b7e237e00 "it=" 11b7e237e00 "ut=" 11b7e237e00 "version=" ten "userId=" 10012 " ><sigs count= "1" >
- <cert index= "2"/>
- </sigs>
- </package>
Copy Code
Save the Packages.xml, and then ADB push Packages.xml/data/system sends the Packages.xml file back to the device.
Then re-install your apk file again to see if success.
Add:
ADB shell
cd/data/app/, delete apk file Rm-rf xxx
cd/data/data/, delete apk file Rm-rf xxx
"Go" to completely resolve install_failed_update_incompatible installation errors