
Install Node.js if you don’t have it or have a version older than 4. It’s like having Android Studio do a build each time you save your file.įinally, download and install JDK 8 or newer if needed.įirst install Chocolatey using the instructions on the Chocolatey website. This is used by React Native to figure out when your code changes and rebuild accordingly. Next, use homebrew to install watchman, a file watcher from Facebook: Then install Node.js by executing the following in Terminal: Follow the instructions for your system to make sure you install the required versions.įirst install Homebrew using the instructions on the Homebrew website. React Native also requires a recent version of the Java SE Development Kit (JDK) to run on Android. React Native uses Node.js, a JavaScript runtime, to build your JavaScript code. Getting Started Node and Java Development Kit Note: We also have an iOS version of this tutorial that you may be interested in. This tutorial will guide you through every step and provide resources where you can learn more. The tutorial takes you through the process of building an Android app for searching UK property listings:ĭon’t worry if you’ve never written any JavaScript or used the CSS-like properties you’ll see. You can also check out our tutorial focused on React Native for iOS. While you can write React Native apps for iOS and Android, this tutorial only covers Android. The community has even added tools such as Expo and Create React Native App to help you quickly build React Native apps without having to touch Xcode or Android Studio! The goal is to learn-once (the React way) and write-anywhere. It’s goal isn’t to write the code once and run it on any platform. React Native brings the React paradigm to mobile app development.

Your UI is simply a function of the current app state.
