In this video, I show how to set up android emulator on the macbook pro m1 8GB and take you through a few sample code changes in a fairly large repository to. Android Emulator for M1. I picked up the MacBook Air and not the Pro and I can create a new project and get up and running on a simulator in under 1 minute, which. With Android apps joining iOS apps, plus the huge amount of existing Mac apps that can be used on M1 Macs and Macbooks like the MacBook Air (M1, 2020) – currently our pick for the best laptop in.
Setting up the environment
Setup for iOS needs:
- 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
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
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
forbrew
ornvm
. 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
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 itkill -9 1234
incorrect architecture 'x86_64' errors
Macbook Pro M1 Android Emulator Online
add this to the Podfile
Android Emulator For Apple M1
run pod install
afterwards
Links
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