I am working in Mac machine . Configured android sdk and also set paths in ~/.bash_profile file. While running the Appium server I am getting the below error .
Could not find adb Please set the ANDROID_HOME environment variable with the Android SDK root directory path.
Thanks for the suggestion it workes for me while running the appium server on console . But please help me out to solve the problem for desktop version .
@srikanta I have set the path details in bas_profile as you have mentioned but I am getting the below error while executing from Appium Desktop:
“Encountered internal error running command: Error: Could not find ‘aapt’ in PATH. Please set the ANDROID_HOME environment variable with the Android SDK root directory path.”
even after adding these two steps, not working for me but it is working from command line if I do man test from my workspace after starting the Appium server from the terminal