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
The Android Emulator is finally supported on Apple Silicon natively and I'm testing it out on my M1 MacBook Air. I also compare it to the native iOS Simulato. I have an option to get 16inch Macbook Pro 2019 or Macbook Air/Pro M1. What are your suggestions? My primary tasks are Android app development (and use emulator quite rarely for testing also).
Homebrew
Install Homebrew if you don't have it installed already
Node LTS with NVM
iOS
Android Emulator On Macbook M1 Download
- Open Terminal / iTerm with Rosetta (Get Info > Open using Rosetta)
- Prefix the CocoaPods related commands with
arch -x86_64
Android
Android Emulator Apple M1 Github
- 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 foundforbrewornvm. Make sure you have a~/.zshrcfile. On a fresh new M1 MacBook, there is no~/.zshrcor~/.zprofilecreated and the$PATHdoesn't get updated because of it. Create a~/.zshrcfile 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 :8081and kill itkill -9 1234
incorrect architecture 'x86_64' errors
add this to the Podfile
run pod install afterwards
Android Emulator Macbook Air M1

Links
Вам не понравилось видео. Спасибо за то что поделились своим мнением!
Android Emulator On Apple M1
DOWNLOADS
Play on Mac: https://www.playonmac.com/en/
Wineskin Winery: https://github.com/Gcenx/WineskinServer
BEST DEALS
MacBook Air: https://vtudio.com/a/?a=macbook+air
MacBook Pro: https://vtudio.com/a/?a=macbook+pro
Mac Mini: https://vtudio.com/a/?a=mac+mini
Recommended Monitor: https://vtudio.com/a/?a=benq+PD3220U
Recommended NAS Drive: https://vtudio.com/a/?a=qnap+tvs-872xt
COMPANION VIDEOS
Can it Run Crysis: https://youtu.be/SFUBalGW7Zo
M1 Mac Performance Review: https://youtu.be/4zLLhO5_fAQ
M1 Developer Review: https://youtube.com/xcreate?sub_confirmation=1
16' MacBook Pro Review: https://youtu.be/9SRdugineRM
BenQ 4K Monitor: https://youtu.be/wAADyngg7tw
EXECUTIVE PRODUCERS
HomeGrownCanadian: https://youtube.com/channel/UCP2FrmHtee3AtQJUxnyzWnQ/
Vijaya Fernando: https://youtube.com/channel/UCHMRyJUGkyVFugl4tNQKvsA/
JOIN THE SHOW
Thanks for your support and if would like to help us produce more videos, please join us at: https://vtudio.com/a/?support
FILMING TOOLS
https://vtudio.com/tools
CREDITS
Audionautix - United We Groove
Links to products often include an affiliate tracking code which allow us to earn fees on purchases you make through them.