Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

running multiple android emulators

I have more than one android emulator running, along with devices connected to the same machine.

I want to to know how to connect to a single emulator/device from the command prompt.

For example: adb shell emulator-5554

But that doesn't work.

like image 852
Hades Avatar asked Apr 20 '26 11:04

Hades


1 Answers

You should use -s switch:

adb -s emulator-5554 shell

like image 79
inazaruk Avatar answered Apr 22 '26 23:04

inazaruk