3 Step to Create Mobile apps on Windows with React Native

in kursus •  4 years ago 

Belajar-React-Native-Tutorial-React-Native.png

React Native is a Javascript Framework that was built and developed by Facebook. This framework is used to create applications on both Android and iOS in native languages.

Because it is Open-Source, you can easily download this framework on your PC or laptop. used by big companies such as Instagram, Airbnb, and Skype in the manufacturing process.

The use of this framework also has a large community in which there are many expert and experienced developers. So you don't need to worry if you have a problem, they are certainly happy to help solve the problem you are experiencing.

You must be curious about how to use this framework? Is the installation process easy? You don't need to worry, of course it's easy. You only need to follow the steps below:

Step 1: Installation Preparation

  • Download and Install the Java Development Kit (JDK)
  • Download and Install Node
  • Download and Install Android Studio
  • Create Environment Variable with the path in Java SDK: Windows> Search> System> Adv.System Setting> Environment Variable> New
JAVA_HOME: C:\path\to\JavaSDK

Step 2: Configure the Android Virtual Device

  • Android Studio settings
  • Create a new Project in Android Studio
  • Create a new Android Virtual Device: Manage AVD> Create
  • Boot your Android Virtual Device

Step 3: Open your Windows Command Prompt (CMD)

Open a command prompt, jump to bash, and specify where you want the project to appear

bash cd / path / to / code
  • Installation
npm install -g react-native-cli
  • Create New Project
react-native init AwesomeProject

move or CD to the new Project you just created
Optional: Configure Graedle Daemon for faster Compiling

((if not exist "%USERPROFILE%/.gradle" mkdir "%USERPROFILE%/.gradle") && (echo org.gradle.daemon=true >> "%USERPROFILE%/.gradle"/gradle.properties"))

Change your Android / app / build.gradle file so you can use the Android SDK that has been installed
Start running the application

react-native run-android

violaa Mobile apps now running on your machine
for more tutorial about React Native you can find in link below
Learn about React Native Visit Here

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!