[英]Android : How does one uninstall a wear watch face from the emulator?
I'm looking to uninstall a custom watch face from a running emulator without resorting to wiping the emulator and rebooting. 我希望从正在运行的仿真器中卸载自定义表盘,而不需要擦除仿真器并重新启动。 Which ADB commands might I send to the emulator to perform this task?
我可以向仿真器发送哪些ADB命令来执行此任务?
Just like any Android device, you can use adb . 就像任何Android设备一样,您可以使用adb 。 From a command line:
从命令行:
adb uninstall com.your.package.name
If multiple devices are connected, get their names with adb devices
and then use: 如果连接了多个设备,请使用
adb devices
获取其名称,然后使用:
adb -s device-name uninstall com.your.package.name
For the record, you can also delete a face from a watch as follows 为了进行记录,您还可以从手表中删除面部,如下所示
adb shell
adb shell
pm uninstall com.your.package_name
This will remove the package from the phone and the watch 这将从手机和手表中取出包裹
Ideal for situations where you messed your APK signature leaving package name unchanged. 非常适用于您弄乱了APK签名而使包名称保持不变的情况。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.