Notes on Android Studio setup on M1 Macbook

Toan Tran
Aug 14, 2021

--

Some notes

  1. JDK setup

Using Azul JDK above

2. Android Studio download

Choose the ARM version (in preview mode)

3. Setup ENV

export ZSH="/Users/toantran/.oh-my-zsh"export ANDROID_HOME="/Users/toantran/Library/Android/sdk"export ANDROID_PLATFORM=$ANDROID_HOME/platform-toolsexport ANDROID_TOOLS="/Users/toantran/Library/Android/sdk/tools/bin"export JAVA_HOME="/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home"

With editing in ~/.zshrc and then run

source ~/.zshrc 

to update those variable settings

3. Accept licenses

yes | sdkmanager --licenses

--

--

Toan Tran
Toan Tran

Written by Toan Tran

Learning to build my own business

No responses yet