orchidrudra
orchidrudra

Reputation: 1172

Specifying android emulator when real device is also connected

When I develop android apps, sometimes I need to use device and sometimes emulator, the problem is when both are connected then if I want to uninstall my app from emulator only I had to disconnect the device. There must be a way so that I can specify from which device to uninstall or install the app. I have tried adb -s option like this

adb -s "emulator-5554" uninstsll com.myPackage.myApp

But it always opens the adb help options. May be the command is not correct. Please help.

Upvotes: 0

Views: 124

Answers (1)

PH7
PH7

Reputation: 3916

adb -e uninstall com.myPackage.myApp

will serve your purpose. FYI, option -e is for emulator.

Upvotes: 1

Related Questions