Reputation: 1172
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
Reputation: 3916
adb -e uninstall com.myPackage.myApp
will serve your purpose. FYI, option -e is for emulator.
Upvotes: 1