11/19/2023 0 Comments Macos install android sdk![]() Note: It looks like there might be an issue with brew update and the android-sdk formula.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): Tick both ‘Performance’ and ‘Android Virtual Device’ to get an optimised Android Virtual Device for testing.Here is a high level overview for what you need to do to get most of an Android environment setup and maintained. You’ll be presented with a Setup Wizard - let’s run through that: ![]() We’ll download Android Studio (about 450MB).ĭrag Android Studio into your Applications folder and then Open Android Studio. ![]() Install Android Studioįirstly, let’s refer to the React Native installation guide, for Android. This article aims to be a guide to get setup with an Android Development environment, specifically for React Native on macOS Sierra. The RN Getting Started guide is ok, but there’s a few extra steps it doesn’t cover. Getting started with React Native iOS development is particularly simple as you just download Xcode from the Mac AppStore, and away you go. I develop a lot with React Native, which compiles to both iOS and Android. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |