

- #Mac install android emulator react native how to#
- #Mac install android emulator react native code#
- #Mac install android emulator react native simulator#
In that case you'll need to " eject" eventually to create your own native builds. If you know that you'll eventually need to include your own native code, Expo is still a good way to get started.
#Mac install android emulator react native code#
Caveatsīecause you don't build any native code when using Expo to create a project, it's not possible to include custom native modules beyond the React Native APIs and components that are available in the Expo client app.
#Mac install android emulator react native simulator#
Once you've set these up, you can launch your app on an Android Virtual Device by running npm run android, or on the iOS Simulator by running npm run ios (macOS only).
#Mac install android emulator react native how to#
If you want to run your app on the iOS Simulator or an Android Virtual Device, please refer to the instructions for "React Native CLI Quickstart" to learn how to install Xcode or set up your Android development environment. Running your app on a simulator or virtual deviceĮxpo CLI allows you to run your React Native app on a physical device without setting up a development environment. If you're curious to learn more about React Native, check out the Introduction to React Native.

On iOS, use the built-in QR code scanner of the Camera app. On Android, use the Expo app to scan the QR code from your terminal to open your project. Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer. This will start a development server for you. Expo init AwesomeProject cd AwesomeProject yarn start # you can also use: expo start Copy
