Comment 4 for bug 1322581

Revision history for this message
Zoltan Balogh (bzoltan) wrote :

The problem is caused by the adb port forwarding. For each connected devcie the QtC reserves (or at least attempts to reserve) 20 ports. So when more than one device is connected (emulator is a device too) and the number of forwarded ports reaches 32 the adb port forwardings starts to fail and the outcome is rather unpredictable.

The solution is to limit the number of reserved ports to 10 and block new devices when adb runs out of available ports (under 32)