After updating to Android L API 20 I receive the follow error when attempting to connect to device using ViewClient.connectToDeviceOrExit(serialno = serial)
"ERROR: Incorrect ADB server version 0004 (expecting 0004001f)"
I have double checked that the version reported by ADB has not changed. It still reports when queried with "adb version" as "Android Debug Bridge version 1.0.31" which is the same as the previous version.
The check is made in adbclient.py on lines 214-215
if version != VERSION:
raise RuntimeError("ERROR: Incorrect ADB server version %s (expecting %s)" % (version, VERSION))
If I comment these lines out the tests continue to work fine however.
I have reproduced this on 2 different systems and have updated to the latest version of the Android SDK and AndroidViewClient (7.2.0). Both systems are using the Windows version of the SDK.
After updating to Android L API 20 I receive the follow error when attempting to connect to device using ViewClient.connectToDeviceOrExit(serialno = serial) "ERROR: Incorrect ADB server version 0004 (expecting 0004001f)" I have double checked that the version reported by ADB has not changed. It still reports when queried with "adb version" as "Android Debug Bridge version 1.0.31" which is the same as the previous version. The check is made in adbclient.py on lines 214-215 if version != VERSION: raise RuntimeError("ERROR: Incorrect ADB server version %s (expecting %s)" % (version, VERSION)) If I comment these lines out the tests continue to work fine however. I have reproduced this on 2 different systems and have updated to the latest version of the Android SDK and AndroidViewClient (7.2.0). Both systems are using the Windows version of the SDK.