How do I uninstall an existing package from the Android emulator

穿精又带淫゛_ 提交于 2019-12-11 06:43:58

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!