1, I will order adb uninstall first uninstall our signed installation package.
2. Use the development mode to run our application on the mobile phone.
3, then the test to take the phone away, with the application Manager to uninstall our application.
4, continue to install our development package, dead or alive can not be installed. There's no way I can get my cell phone. Tried for a long time, almost the root of the phone, but the phone is not my, no way to root.
5. Provide this information online
http://xusaomaiss.javaeye.com/blog/393296
When installing Android APK repeatedly, you may sometimes encounter the ADB install error, the content is: Failure [install_failed_update_incompatible]
This is probably because you were in the previous uninstall application, did not do a thorough, just simple rm/data/app/the following apk file, a remedy is as follows:
start the emulator and go to the menu
Settings->applications->mange
applications-> Select the Application->select "Unistall".
This will remove it completely, and then reinstall the APK will be no problem.
another way is to/data/system/packages.xml the application of the appropriate information to delete, restart the emulator and then install it, because the ADB installed, the packages.xml will add the corresponding program information.
However, it is not available here:
1, widgets are not in mange applications list;
2,/data/system/packages.xml No this app information, and change the trouble
find out more ...
http://iame.javaeye.com/blog/391455
After making the APK (must sign), through adb install xx.apk,
1) The apk file is placed in the/data/app/directory
2) added a record in/data/system/packages.xml
3) If a database is used, the data directory used by the APK is added to the/data/data after the first run
There are several ways to uninstall:
1) Elegant: Find application-->application via interface settings-->applications-->manage applications--> Info-->uninstall You can uninstall the app normally.
2) Rough go directly to the/data/app directory to remove the APK
adb Shell
Cd/data/app
RM xxx.apk
This is not recommended, only to remove the APK, if the application has other directories, such as the database directory/data/data/xxx/databases/is not clean up, leaving a hidden trouble.
3) Hidden type:
adb Uninstall Package-name (this is not stated in the ADB's help documentation, but can be used)
What, do not know package-name? See that there is a required attribute in your androidmanifest.xml that is the package, which specifies Package-name.
PS. Android in the package and application is not a thing, but also did not see a clear explanation. Can you understand this:
The package is a physical concept, and application is the logical concept of the run time?
OK, try it:
F: "publish>adb uninstall Com.anrdroid.test
Success
successfully deleted, Reload:
[2009-06-07 02:48:45-battery] performing sync
[2009-06-07 02:48:45-battery] Automatic Target mode:using device ' ht843gz03305 '
[2009-06-07 02:48:45-battery] uploading battery.apk onto device ' ht843gz03305 '
[2009-06-07 02:48:45-battery] Installing battery.apk ...
[2009-06-07 02:48:49-battery] success!
[2009-06-07 02:48:49-battery] "battery" bin "battery.apk installed on device
[2009-06-07 02:48:49-battery] done!
I've been trying for a long time and I haven't solved it.
I will use the Eclipse code to run the application again, install successfully, then uninstall the application (with the mobile phone system comes with the uninstall), and then re-installed the signed application, OK.