Wednesday, April 16, 2014

How to uninstall through adb command when multiple devices are connected

Sometimes when you have a physical device and an emulator connected to your computer, adb command doesn't work.

This will display serial number of connected devices:
adb devices -l









Now knowing the serial number of  my physical device (in this case: 8d5351c6062aa124), type adb uninstall command:

adb -s (serial number) uninstall (com.package.name)

in my case:
adb -s 8d5351c6062aa124 uninstall (com.package.name)

No comments:

Post a Comment