How to connect Android Studio to Appium

I posted this in another thread last week. As I was able to solve how to connect Android Studio on Mac (with a El Capitan OS ) to Appium.

As I am a novice on appium. I found it trick but I did manage to install it successfully.

I hope people find it useful

notice to newbies**

It seems that android SDK is no longer available to download separately. If you want to use android sdk you will have to download android studio.

Once you are in android studio. Select ‘configure’ and select ‘sdk manger’ from the options.

New update:

If anyone is having problems installing Andriod studio I have FINALLY FIGURED IT OUT and it works mac os el capitan 10.11.6

download Android Studio
1a. Open terminal after download and installation
2.‘vim ~/.bash_profile’
3.source ~/.bash_profile
Source bash profile I typed:

export ANDROID_HOME=//Android/sdk
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
export JAVA_HOME=$(/usr/libexec/java_home)

to save

press esc button


Close terminal

open new terminal

type ‘android’ in terminal

This should open the Android SDK manager

ANDROID_HOME: place your Andriod SKD location in this area followed by /andriod/sdk. To find the correct location open android studio>configure >Android sdk> copy the location

In SDK tools select most up to date platforms ( in Oct '16 it is 5.1 and 6.0) >install (it will take ages!)>reboot mac too

Open Appium press Doctor (stethoscope icon) confirm that all items are successfully installed as you will see a number of green ticks

1 Like