

If you have already installed JDK on your system, make sure it is JDK 11 or newer. This will make sure your build are faster on M1 Macs compared to using an Intel-based JDK. The Zulu OpenJDK distribution offers JDKs for both Intel and M1 Macs. Select "React Native CLI Quickstart" above for instructions on configuring a native build environment for React Native. If you're integrating React Native into an existing project, you'll want to skip Expo CLI and go directly to setting up the native build environment. You can check this document to find out what versions are supported. The Expo client app usually gains support for a given React Native version with new SDK (released quarterly). If you do eject, the "React Native CLI Quickstart" instructions will be required to continue working on your project.Įxpo CLI configures your project to use the most recent React Native version that is supported by the Expo client app. 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.
Android studio github 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.
Android studio github android#
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).
Android studio github 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.
