AndroidViewClient
AndroidViewClient copied to clipboard
ADB version error after upgrading to API 21
Error observed after update Android L API 21
I'm not sure if anyone it's observing the same issue, but something similar happened after updated to Android API 20 and it was fixed in be2e22e
verifying device connection
Connecting to a device with serialno=.* with a timeout of 60 secs...
Traceback (most recent call last):
File "C:\Users\test_user\scripts\TestCases\Test.py", line 75, in <module>
device, serialno = ViewClient.connectToDeviceOrExit(verbose=True)
File "C:\github\AndroidViewClient\AndroidViewClient\src\com\dtmilano\android\viewclient.py", line 1474, in connectToDeviceOrExit
File "C:\github\AndroidViewClient\AndroidViewClient\src\com\dtmilano\android\adb\adbclient.py", line 93, in __init__
File "C:\github\AndroidViewClient\AndroidViewClient\src\com\dtmilano\android\adb\adbclient.py", line 217, in checkVersion
RuntimeError: ERROR: Incorrect ADB server version 00040020 (expecting 0004001f)
VALID_ADB_VERSIONS = ["00040020", "0004001f"] is already there, you should not get this error in latest version (i.e. 8.17.0)
Thanks @dtmilano, after running the setup.py build / Install I was able to have use AVC without any error.