Saturday, September 24, 2016

How to Install REACT NATIVE on Ubuntu 14.04


Hello powerfullhoster! today i'll show you how to install REACT NATIVE on Ubuntu 14.04.
Let's check this out!.
React Native is a framework to create mobile applications using javascript and React.js. React with Native mobile application written in javascript and React will be translated into native languages like Java for Android or Objective-C for iOS.
This article will explain how to set Android-based application development tools React Native operating system Ubuntu 14:04.

Equipment needed:
Android SDK Settings :

Here, the Android SDK is considered already installed and ready to use. Then adjust so that the system knows the location of the Android SDK is located. Add a line in .bashrc


export ANDROID_HOME=/home/powerfullhost/Android/Sdk
export PATH=$PATH:/home/powerfullhost/Android/Sdk/tools
export PATH=$PATH:/home/powerfullhost/Android/Sdk/platform-tools  
Directories adapted to the location where the Android SDK is located.

React Native Installation

Program-based Node.js Native React (Node.js deemed to have been installed). Replace Native React through npm .

npm install -g react-native-cli  

React Native Trial

Use React Native CLI to start the project.

react-native init FirstApp
cd FirstApp

And then start the React Native Packager

react-native start

Run Android emulator of avd Manager.
Then open the terminal again in FirstApp directory and run

react-native run-android


No comments:

Post a Comment