After a device has been successfully paired, how do we connect ADB? I may have misunderstood the documentation, but I am doing something like:
AdbConnectionManager connectionManager = AdbConnectionManager.getInstance(context);
boolean paired = connectionManager.pair(ip, PAIR_PORT, PIN);
boolean connected = connectionManager.connect(ip, ADB_PORT); // Fails with ECONNREFUSED, port is closed. Tested same port as pairing port and 5555
Thanks in advance.
After a device has been successfully paired, how do we connect ADB? I may have misunderstood the documentation, but I am doing something like:
Thanks in advance.