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
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.
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.