- Download Android SDK.
- Unzip SDK Zip file into directory of your choice (for example
/Users/benjamin/dev/tools/adt-bundle-mac-x86_64-20130917/sdk).
To be able to execute the examples you will need to point your environment to the Android SDK installation directory. This can be achieved by setting the environment variable ANDROID_HOME or by adding a properties file (named local.properties) to each of the projects.
sdk.dir=/Users/benjamin/dev/tools/adt-bundle-mac-x86_64-20130917/sdk
export ANDROID_HOME=/Users/benjamin/dev/tools/adt-bundle-mac-x86_64-20130917/sdk
- Never apply the Gradle Java plugin in conjunction with the Android plugin in the same project.