Android Studio/Emulator on macOS with ARM CPU M1

Good news ! Edit on 28 th of July 2021 🎉 🌈 Apple Silicon Support Now, there is an arm64 release version available for Android Studio Arctic Fox (2020.3.1) You can download it from here https://developer.android.com/studio#downloads Easy fix to use right architecture Tools -> SDK Manager -> SDK Tools (tab) -> Deselect ‘Android Emulator’ -> … Read more

“zsh: illegal hardware instruction python” when installing Tensorflow on macbook pro M1 [duplicate]

This worked for me after trying a bunch of solutions to no avail. Step 1 Using pyenv install python version 3.8.5 and set it as your default python version. This tutorial(https://realpython.com/intro-to-pyenv/) is helpful for getting pyenv configured properly. Step 1.1 Use this post(https://github.com/pyenv/pyenv/issues/1446) if you have troubles running pyenv in zsh. Step 1.2 Once you … Read more

Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)

For what it’s worth, before installing Homebrew you will need to install Rosetta2 emulator for the new ARM silicon (M1 chip). I just installed Rosetta2 via terminal using: /usr/sbin/softwareupdate –install-rosetta –agree-to-license This will install rosetta2 with no extra button clicks. After installing Rosetta2 above you can then use the Homebrew cmd and install Homebrew for … Read more

clang-7: error: linker command failed with exit code 1 for macOS Big Sur

This has been challenging, but here are the steps I used compile R packages from source on MacOS Big Sur: Reinstall xcode command line tools (don’t believe Software Update if it says ‘up to date’ – he lies – brew doctor said my version was actually old) sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select –install Install … Read more