Reputation: 63
I was trying to set a win10 Appium environment to do some Android automation test.
My adb environment var and Android devices are all set down (seen in attach screenshots).
However when I run the python or java test code, the appium server always tells me that my adb.exe and build tools folder could not be found. I spent aloooooooooot of time on finding the solution on google but nothing works.
Upvotes: 2
Views: 3025
Reputation: 217
Don't forget to restart your appium server after the above changes are made.
Upvotes: 1
Reputation: 959
From the screenshot you attached it seems like you have updated multiple paths separated by semi colon all under ANDROID_HOME
environment variable.
Set the environment variables properly for ANDROID_HOME
and Path
as described below,
ANDROID_HOME
: SDK root path onlyPATH
: %ANDROID_HOME%\platform-toolsPATH
: %ANDROID_HOME%\toolsUpvotes: 3