Skip to content

Instantly share code, notes, and snippets.

@cmilfont
Last active January 3, 2017 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmilfont/d8d9ae251e0eae4ce9a117769f7d4e71 to your computer and use it in GitHub Desktop.
Save cmilfont/d8d9ae251e0eae4ce9a117769f7d4e71 to your computer and use it in GitHub Desktop.
React Native
# with installed nvm
# Install SDK Android - https://facebook.github.io/react-native/docs/getting-started.html
# Appearance & Behavior → System Settings → Android SDK
# SDK Platforms: Android 6.0 (Marshmallow)
# Launch Standalone SDK Manager -> Tools -> 23.0.1
# Configure ~/.profile
export NVM_DIR="/Users/cmilfont/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
source ~/.profile
android avd
# click start and open simulator, can't believe that React Native don't open this
#or
emulator -list-avds
# >> Nexus_4_API_23
emulator -avd Nexus_4_API_23
brew update
brew install watchman
npm install -g react-native-cli
react-native init lutalivre
react-native run-android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment