2

How do I adb to second and third and so forth instances of bluestacks?

As mentioned here one has to enable Adb in preferences of each bluestack instance, then possibly do

adb connect localhost:5555

This will connect to the first instance. adb devices now shows

emulator-5554   device
localhost:5555  device

Both being the same bluestack instance, namely the first instance.

arberg
  • 4,148
  • 4
  • 31
  • 39

1 Answers1

1

Hm, seems I found the instances.

It could look like the instances are on 5555 + idx*10, where idx is the index af the bluestack instance. I found some with this powershell line foreach ($i in 555..579) { adb connect localhost:"${i}5"}

arberg
  • 4,148
  • 4
  • 31
  • 39
  • I found the answer as I was writing it, so I wanted to share the knowledge. If others have more details or actually know the above to be correct, I'll accept that anwser. – arberg Jan 16 '20 at 09:00