Garn in React Native einbauen
npm install -g yarn
yarn global add react-native-cli
react-native init sample
Arvind Jitta
npm install -g yarn
yarn global add react-native-cli
react-native init sample
npm install -g react-native-cli
//cd to the file where your react native projects will be
react-native init albums
// Run instructions for IOS/Android
cd projects/albums
npx react-native run-ios
npx react-native run-android
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools