allstarvur.blogg.se

Android studio for macbook m1
Android studio for macbook m1









Create a ~/.zshrc file and run the commands to install Homebrew and NVM again.

android studio for macbook m1

On a fresh new M1 MacBook, there is no ~/.zshrc or ~/.zprofile created and the $PATH doesn't get updated because of it. You'll have to download and install it separately. Luckily, there is a Preview build by Google that supports Apple Silicon M1 chip based MacBooks. The Android Emulator doesn't work out of the box yet. Install JDK 8 brew install -cask adoptopenjdk/openjdk/adoptopenjdk8.Prefix the CocoaPods related commands with arch -x86_64.

android studio for macbook m1

Open Terminal / iTerm with Rosetta (Get Info > Open using Rosetta).Install Homebrew if you don't have it installed already mkdir homebrew & curl -L | tar xz -strip 1 -C homebrewĮxport NVM_DIR="$([ -z "$/nvm")" It'll prompt you anyway when you run Xcode for the first time. Accept the Software License for Xcode sudo xcodebuild -license.Xcode Command Line Tools xcode-select -install.











Android studio for macbook m1