appium and genymotion multiple device errors

45 views Asked by At

I want to manage my android devices using Appium and Genymotion.

I get an error when 2 devices are active at the same time, the error output is;

enter image description here

But after turning off one of the 2 devices, I can connect to the active device. The only problem is that when 2 devices are active at the same time, I cannot connect to any of them.

Capability:

enter image description here

adb devices:

enter image description here

I tried changing the port but I guess genymotion ports don't change.

1

There are 1 answers

0
Faruk Dursun On

I solved the problem.

You can avoid the error by giving different ports to each emulator adb.

Required Code: adb -s [EMULATOR_UDID] forward tcp:5556 tcp:5555