- For a full list of dependencies, execute
./gradlew :app:dependencies
from the root directory
- Visit this page and download git
- Double-click the .DMG file to mount it. A new Finder window showing its contents should appear.
- If the window also contains a shortcut icon to
Applications
, drag and drop the app onto the shortcut. - If not, double-click the mounted volume on your desktop and drag the app icon from there to the
Applications
icon in the Finder sidebar.
- Download the Android SDK from here
cd ~
and unpack the SDK like so:unzip android-sdk_r21.1-macosx.zip
- Create a symbolic link like this:
ln -s android-sdk-macosx android
- Add
export ANDROID_HOME=/Users/your_uname/android
to~/.bash_profile
- Add
export PATH=$PATH:$ANDROID_HOME/tools
to~/.bash_profile
- Execute
source ~/.bash_profile
to reload environment variables
- If you already have the SDK installed, you may want to update it like so:
~/android/tools/android update sdk --no-ui
cd directory_where_you_keep_code
andgit clone https://github.com/realtybaron/template-android-app.git
cd template-android-app
./gradlew connectedCheck
cd template-android-app
./gradlew clean installDebug