Macbook Pro M1 Android Emulator

Macbook Pro M1 Android Emulator

The Android emulator now works on the Apple M1 chip (Apple Silicon), but only in preview mode. This means that not all functionality is available. It would be great to make a test on them. And also interesting to test this project on Macbook Pro 2019 16' and the new one Macbook Pro/Air with M1 chip to compare performance. And also to try to run this project on Android Studio on Windows 10 incide MacOS on Parallels and via Bootcamp and to see the difference in performance.


In this video, I tried running the NEW Android Studio Beta on Mac m1 you can download it from here:

Help this channel grow:

If you are a beginner in development and programming I would recommend subscribing to this channel

follow me on Instagram:
Follow me on Twitter:
Connect with me on LinkedIn:
like my FB page:

macbook pro m1
apple silicon
macbook m1
m1 macs
android development
android studio
macbook air m1
play console
m1 macbook air
imac m1
apple m1x
macbook pro 13 m1
google play store console
apple m1 macbook pro
macbook pro m1 16gb
mac mini m1 16gb
m1 imac
apple silicon macbook
google developer account
macbook air m1 16gb
apple mac mini m1
apple m1 macbook air
macbook pro 2020 m1
play console google
developer console google
macbook m1 air
android kotlin
macbook air m1 chip
macbook pro m1 chip
google play developer account
android programming
macmini m1
vmware fusion m1
macbook air 13 m1
apple arm macbook
macbook pro m1 2020
m1 air
photoshop m1
mac silicon
apple silicon m1
android application development
adobe m1
apple silicon macbook pro
macbook pro m1 16 inch
m1 macbook pro 16
macbook m1 16gb
macbook pro m1 price
apple m1 docker
paytm launches mini app store
vscode m1 .
source

Setting up the environment

Setup for iOS needs:

Emulator
  • Node (with NVM)
  • Watchman brew install watchman
  • Xcode (install from the App Store)
  • Xcode Command Line Tools xcode-select --install
  • Accept the Software License for Xcode sudo xcodebuild -license. It'll prompt you anyway when you run Xcode for the first time.
  • CocoaPods sudo gem install cocoapods

Homebrew

Install Homebrew if you don't have it installed already

Node LTS with NVM

Macbook Pro M1 Android Emulator

iOS

  • Open Terminal / iTerm with Rosetta (Get Info > Open using Rosetta)
  • Prefix the CocoaPods related commands with arch -x86_64

Android

  • Install JDK 8 brew install --cask adoptopenjdk/openjdk/adoptopenjdk8
  • Install Android Studio
  • Install Android Emulator for M1

Macbook Pro M1 16gb

The Android Emulator doesn't work out of the box yet. Luckily, there is a Preview build by Google that supports Apple Silicon M1 chip based MacBooks. You'll have to download and install it separately. Most things work.

Troubleshooting

  • command not found for brew or nvm. Make sure you have a ~/.zshrc file. On a fresh new M1 MacBook, there is no ~/.zshrc or ~/.zprofile created and the $PATH doesn't get updated because of it. Create a ~/.zshrc file and run the commands to install Homebrew and NVM again.

Add this to you Podfile

Online

Two options:

  • Run on a different port react-native start --port=8088
  • OR find out what program is using 8081 sudo lsof -i :8081 and kill it kill -9 1234

incorrect architecture 'x86_64' errors

add this to the Podfile

Android Studio Emulator Mac M1

run pod install afterwards

Android Emulator M1 Mac

Links