简体   繁体   中英

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?

Just like any Android device, you can use 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 -s device-name uninstall com.your.package.name

For the record, you can also delete a face from a watch as follows

  1. Hook your host phone via usd to a computer with Android SDK
  2. execute adb in shell mode adb shell
  3. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM