appium

Install Android SDK

To test Android apps, we need to install Android SDK.

We need to setup some system variables, through editing ~/.bash_profile as following:

export ANDROID_HOME=/Applications/adt-bundle-mac/sdk
PATH=$PATH:$ANDROID_HOME:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

Alt text

And we also need to add necessary APIs of Android in "Android SDK manager".

Alt text

We also should add AVDs we want to use.

Alt text

Make sure that hw.battery=yes in your AVD’s config.ini

Alt text