Error Failed to start an Appium session, err was: Error: Could not find adb. Please set the ANDROID_HOME environment variable with the Android SDK root directory path

Hi

I am trying to invoke the appium from Eclipse with Java code on Mac and I getting below error while running

e[31merrore[39m: Failed to start an Appium session, err was: Error: Could not find adb. Please set the ANDROID_HOME environment variable with the Android SDK root directory path.

Please help me to resolve this asap. Appium doctor says all set properly including ANDROID_HOME.

Please help me with proceed further.

Thanks,
Pradeep

Hi @Pradeep could you please post the screenshot of your appium inspector

and also what is appium version you are using

I am using the 1.4.1 version of appium. Attaching the screen shot of appium inspector which throws error on clicking on it.

Thanks,
Pradeep.L