开发者

How do I uninstall an existing package from the Android emulator

开发者 https://www.devze.com 2023-03-18 19:11 出处:网络
c:\\Android\\android-sdk\\platform-tools>adb install foo.apk (Platform 3.1) 137 KB/s (14948 bytes in 0.106s)
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.

0

精彩评论

暂无评论...
验证码 换一张
取 消