MobileAppDevelopmentTraining

installed

  1. Nodejs
  2. Android studio
  3. React Native

Set System variable

  1. Android home
  2. java home

set path

1)expo 2)npm

Commands

  1. cd documents
  2. expo init AwesomeProject

After running this get the command

√ Choose a template: » blank a minimal app as clean as an empty canvas √ Downloaded and extracted project files. � Using npm to install packages. √ Installed JavaScript dependencies.

✅ Your project is ready!

To run your project, navigate to the directory and run one of the following npm commands.

  • cd AwesomeProject
  • npm start # you can open iOS, Android, or web from here, or run them directly with the commands below.
  • npm run android
  • npm run ios # requires an iOS device or macOS for access to an iOS simulator
  • npm run web
  1. cd AwesomeProject

  2. npm start

  3. After runing 4

@ start C:\Users\Username\Documents\AwesomeProject expo start

Starting project at C:\Users\Username\Documents\AwesomeProject Expo DevTools is running at http://localhost:19002 Opening DevTools in the browser... (press shift-d to disable) Starting Metro Bundler

exp://xxx.xxx.xx.xx:xxxxx

Finally

To run the app, choose one of: › Scan the QR code above with the Expo app (Android) or the Camera app (iOS). › Press a for Android emulator, or w to run on web. › Press e to send a link to your phone with email.

Press ? to show a list of all available commands. Logs for your project will appear below. Press Ctrl+C to exit. Starting Webpack on port 19006 in development mode.