Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 849 Bytes

ANDROID.md

File metadata and controls

24 lines (16 loc) · 849 Bytes

Android Build Environment

OSX Mac M1

If you're using Mac M1 or a later version of Mac OSX, then it is advised that you do not install android-sdk and android-platform-tools via homebrew, as they are soon to be deprecated.

Installing Java Development Kit (JDK)

Use the following command to install the latest JDK. Zulu Open JDK is recommended because it supports both Intel and M1 processors.

brew tap homebrew/cask-versions
brew install --cask zulu11

Installing Android SDK and Platform Tools

Follow the standard instructions for installing the Android SDK and Platform Tools using Android Studio, then modify your path to exose the required commands in CLI.

export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_SDK_ROOT/emulator
export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools