I am using viewclient for button pressing in my tests. But i am getting ANDROID_HOME path was not set, though i set it in the environment variables. I am using windows7 OS.

File "F:\Example\AndroidViewClient\src\com\dtmilano\and roid\viewclient.py", line 870, in _init_()File "F:\Example\AndroidViewClient\src\com\dtmilano\and roid\viewclient.py", line 986 in _ViewClient_obtainAdbPathIt raised following exception

('adb="%s" is not executable. Did you forget to set ANDROID_HOME in the environment?' %adb)Exception: adb="%s" is not executable. Did you forget to set ANDROID_HOME in the environment?My env variable

ANDROID_HOME=C:\adt-bundle-windows-x86_64\adt-bundle-windows\sdk\platform-toolsANDROID_VIEW_CLIENT_HOME=C:\Users\testing\Dow nloads\AndroidViewClient-version_2_3_1\AndroidViewClient-version_2_3_1\AndroidViewClientIt looked all over and messed up with it. So thought of asking for experts and posting this here. Thanks in advance


Check Solution