In recent years, the Web front-end is very hot, the popularity of the same as I graduated from the mobile development of the general. With the popularity of JavaScript, mobile also do not behave, reactnative on the rise, almost to achieve "a study, around the development", and I would like to embrace the changes of the times, began their own reactnative learning.
So first we're going to start configuring the environment:
The tools you need to install are:
1. Android Studio
2. SDK
3. JDK
4. Node. js
5. React native
6. The Atom editor and the plugins provided by Facebook nuclide
7. Chrome browser and the plugins provided by Facebook react Developer Tools
1. Install JDK,JDK website Download, basic is a key installation, not much explanation, installation success; terminal execution
Java-version
Execution succeeds if output similar to the following is present
" 1.8.0_91 " 1.8. 0_91-25.91-b14, Mixed mode)
2. Install Android Studio
Google or Baidu search Android Studio (corresponding to its own operating system) the latest version, one-click installation.
After successful installation, configure the SDK location, set the environment variables, reference: Https://www.cnblogs.com/xdp-gacl/p/4329469.html?utm_source=tuicool
3. Install node. js;
Ref: 50545304
4. Install React Native
Perform:
Install -G react-native-cli
Then check if the installation was successful:
React-native-h
The following output proves that the installation was successful:
usage:react-Native [options] [command] options: -V,--version output the version number -H,--help output usage information
5. Install Atom and nuclide
Download Atom, install it in one click, then search for the nuclide plugin in the install package.
6. Install the Chrome browser and search the store for React Developer Tools to install this plugin
7. Install Watchman tool, perform under Mac
Install Watchman
At this point, the environment configuration is complete
React Native Android Development environment configuration