The previous article describes the installation of the local server-side environment, using the already compiled APK program, set the IP address, you can see the welcome interface, and can make changes to the program and debugging.
In order to extend and publish the application also need to be able to compile the loader program, here is how to compile the loader program, is actually compiled Android program.
Reactnative generated projects are compiled with grader, Eclipse cannot compile, need to use command line or import Android studio or IntelliJ idea, here to import the project into Android studio.
1. First, if the JDK is not installed, you need to install the JDK and set the environment Java_home environment variables.
Reference:
Http://jingyan.baidu.com/article/f96699bb8b38e0894e3c1bef.html
2. Installation of android-studio-bundle1.4,reactnative-dependent SDK, Buildtools, and the version of the expansion pack for the 23,bundle version of Android Studio have been integrated and the version is also compliant.
1.4 Version of Android-studio I test no problem, the other version of Android-studio no test.
If you're using a different version of Android-studio or IntelliJ idea, it's actually possible to upgrade the SDK and Buildtools versions,
In addition, there is a dependency package needs online update (APPCOMPAT-V7), because Google services by the wall so need FQ,FQ after Gradle will update automatically, otherwise it will fail.
With the 1.4 version of Android Studio there is no problem, no FQ required, and the required files are packaged.
As follows:
Https://dl.google.com/dl/android/studio/install/1.4.0.10/android-studio-bundle-141.2288178-windows.exe
After installing Android Studio, go to the Start page, select "Import Project ...", then select the Android directory under Awesomeproject, import the project, connect the data line, and run it.
For more information, please follow my public number: Zhaojietec
What's the problem with my qq:1115500401?
React native Windows Development environment Building (II)