By building the Android environment, we can continue to build our react native environment.
Of course, according to the FB installation process to complete the construction of Rn.
Http://facebook.github.io/react-native/docs/getting-started.html
1.Install Python2
Be sure to install Python2. x.x version, remember not to install more than pythn3+.
2.rn Android SDK If 23.0.1, otherwise will be reported in the directory can not find the corresponding SDK.
3. local.properties This file cannot be found under the directory
You can add the Local.properties file to the root directory of Android.
4.react native errortimeout getting device list.
If this problem arises, you need to go to the ADB in genymotion to set the path of the SDK.
5.more than one Divice/emulator
Download adb and install it and go to the corresponding directory in cmd
viewing devices via ADB devices
Adb-s devicename Shell
For example:
Adb-s emulator-5554 Shell
In multi-device, executing the ADB command typically requires the device to be specified with the parameter-S.
Or see if there are other external Android devices connected to it.
Basically solve the above several, except through react-native init awesomeproject Download rn package file may be more slow outside. The installation should be no problem.
After success as
React native common problems in environmental construction