Periodically run these commands again to ensure you're staying up to date: brew update Update your paths (bonus points to a better solution to the hardcoded build tools version): export PATH=$ANT_HOME/bin:$PATHĮxport PATH=$ANDROID_HOME/platform-tools:$PATHĮxport PATH=$ANDROID_HOME/build-tools/19.1.0:$PATH Update your environment variables: export ANT_HOME=/usr/local/opt/antĮxport ANDROID_HOME=/usr/local/opt/android-sdkĮxport ANDROID_NDK_HOME=/usr/local/opt/android-ndk Check out the "Configuring VM Acceleration on Mac" section here: Install all of the Android SDK components (you will be prompted to agree to license info and then this will take a while to run): android update sdk -no-ui Use Homebrew to install Android dev tools: brew install ant Make sure the doctor is happy (do what it tells you): brew doctor Install Homebrew: ruby -e "$(curl -fsSL )" XCode command line tools are installed ( xcode-select -install will prompt up a dialog). ![]() Prerequisites (for Homebrew at a minimum, lots of other tools need these too): ![]() Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |