0% found this document useful (0 votes)
83 views

React Native PDF

To use React Native with Expo, install node.js and the Expo CLI by running "npm install -g expo-cli", which may require installing sharp first. Create a new project using "expo init <ProjName>" and run it with "expo start". Scan the displayed QR code using the Expo mobile app to run the app on a connected mobile device or press "a" to run it on an Android emulator.

Uploaded by

satish menon
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views

React Native PDF

To use React Native with Expo, install node.js and the Expo CLI by running "npm install -g expo-cli", which may require installing sharp first. Create a new project using "expo init <ProjName>" and run it with "expo start". Scan the displayed QR code using the Expo mobile app to run the app on a connected mobile device or press "a" to run it on an Android emulator.

Uploaded by

satish menon
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

To use React Native with Expo

1. Install node js
2. To install Expo – cli we should,
On the command prompt : npm install –g expo-cli
3. If it gives errors, then use: npm install –g sharp
Retry : npm install –g expo-cli
4. Create the app using : expo init <ProjName>
5. Run the app using: expo start
6. Install expo app on mobile too and then using USB cable connected scan the QR code shown
and run the app.
7. To run on Android Studio AVD, start Android Studio and launch the emulator with some
Virtual Device. On Expo QR code output , press ‘a’ for Android emulator and the app will run
on the AVD
8. To run on Android without Android Studio go to the folder of Android SDK installation and
find emulator.exe file. For. E.g., in our case it was in C drive AndroidSDK folder, the command
is : C:\AndroidSDK\emulator>emulator -list-avds
9. This will show a list of all AVDS. Choose the one we want and type the command:
C:\AndroidSDK\emulator>emulator -avd Pixel_2_API_28

You might also like