Issue
I a m trying to run Android automation in Robot Framework using Appium but, the following error keeps showing up:
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not find 'adb' in ["/Applications/ADT/sdk/platform-tools/platform-tools/adb","/Applications/ADT/sdk/platform-tools/emulator/adb","/Applications/ADT/sdk/platform-tools/tools/adb","/Applications/ADT/sdk/platform-tools/tools/bin/adb"]. Do you have Android Build Tools installed at '/Applications/ADT/sdk/platform-tools'?
I have checked the installation in Android as well.
Any idea how to resolve this kind of issue? Thank you very much.
Solution
I suspect your paths may not be set correctly. For reference, I have the following set in my bash profile:
export ANDROID_HOME=~/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=$PATH:$JAVA_HOME/bin
Answered By - Mike Collins
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.