How do I uninstall an existing package from the Android emulator
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.
ADB uninstall should work. To get a list of packages installed:
adb shell pm list packages
Setting->Application->Manage Application->
You can also use:
adb install -r foo.apk
-r
will allow you to update/reinstall the app.
精彩评论