问题
c:\Android\android-sdk\platform-tools>adb install foo.apk (Platform 3.1)
137 KB/s (14948 bytes in 0.106s)
pkg: /data/local/tmp/foo.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
adb uninstall
looks for a package name and am not sure what it is? How do I find this information so that I can uninstall.
回答1:
ADB uninstall should work. To get a list of packages installed:
adb shell pm list packages
回答2:
Setting->Application->Manage Application->
回答3:
You can also use:
adb install -r foo.apk
-r
will allow you to update/reinstall the app.
来源:https://stackoverflow.com/questions/6591817/how-do-i-uninstall-an-existing-package-from-the-android-emulator