Install Expo on phone
Then on comp...
npm install -g expo-cli
expo init <app-name>
cd into project
npm start
-
top option in 'Managed WorkFlow'(blank)
-
change name to app name
-
N
to install Yarn dependencies... orY
Download Expo Client on phone and sign in with account
Open up camera on phone and scan QR code
Got it
If need to close, open with expo start
Download Android Studio https://developer.android.com/ Go through app install fully, selecting all default settings
Root in terminal
ls -a
cd .bash_profile
Install these lines at the bottom
export ANDROID_SDK=/Users/q/Library/Android/sdk
export PATH=/Users/q/Library/Android/sdk/platform-tools:$PATH
Restart terminal
Enter adb
in terminal
Open Android Studio modal
Configure - SKD
check
- SDK Platforms
- Q
- Pie
- SDK Tools
- SDK Build-Tools
- Emulator
- SDK Platform-Tools
- SDK Tools
- Intel x86 Emulator
- Google Play services
Configure - AVD
- choose device
- choose most stable (Pie, might need to download)
Make sure expo start
Press a
to open app on Android fake phone on computer
https://facebook.github.io/react-native/docs/components-and-apis