[Android] add instructions to install Android Support Repository

[skip ci]
This commit is contained in:
Ansis Brammanis
2015-07-10 15:31:06 +02:00
committed by John Firebaugh
parent 1b87232bec
commit 4dce45ffc6

View File

@@ -270,6 +270,10 @@ Install [Android Studio](https://developer.android.com/sdk/installing/studio.htm
brew cask install android-studio
android
In the Android SDK Manager also select and install "Android Support Repository" and "Android Support Library" from "Extras":
![image](https://cloud.githubusercontent.com/assets/98601/9915837/289f398e-5c6e-11e5-9a84-ed4d08d52d1f.png)
By default, the SDK will be installed to `/usr/local/opt/android-sdk`. If you open Android Studio at this point, you may get an error message telling you that it can't find a JVM, it's because you installed a custom Java VM from Oracle. Follow [these instructions](http://tools.android.com/recent/androidstudio1rc3_releasecandidate3released) to start Android Studio. You'll wind up setting these environment variables in your .bash_profile or similar:
echo "export ANDROID_HOME=`brew --prefix android-sdk`" >> .bash_profile