Relatively new to Appium, apologize in advance! I keep running into an issue whenever I try to start an Appium session:
"An unknown server-side error occurred while processing the command. Original error: Could not find adb Please set the ANDROID_HOME environment variable with the Android SDK root directory path."
I believe my bash_profile is set correctly (let me know otherwise):
As I said before, reinstall, make sure you are on the latest version. Here is a troubleshooting list you can use, but if it’s not working you should reinstall:
in Eclipse go to Run > run configuration > Environment tab > tap on new > set ANDROID_HOME variable and JAVA_HOME Variable > Apply > Run… hopefully this will resolve this issue.
Actually, I am going to write my test in Eclipse but this specific issue is with Appium Desktop. I’ll keep this in mind once I figure this issue out though.
@chris-carela I also faced same issue few days ago, can you please check which shell you are using? using command “echo $0”. In my case I was using “zsh” instead of “bash”
I changed the default shell to /bin/bash and tried to relaunch Appium but I’m still getting the same error. However, I’m noticing that the Appium logs state that:
[ADB] Checking whether adb is present [ADB] The ANDROID_HOME environment variable is not set to the Android SDK root directory path. ANDROID_HOME is required for compatibility with SDK 23+. Checking along PATH for adb.
According to my bash_profile, this is already specified.