Guide How to Install React Native on Windows 10 for Beginners

Richards
By -
0
Guide How to Install React Native on Windows 10 for Beginners

For those of you who are mobile application developers, you must have experienced difficulties when you want to develop Android or iOS applications. Because there are many special codes that we have to memorize and we also make when we will make these applications.

Working on mobile applications with desktop applications is slightly different. So we have to go deeper into knowledge if we want to make mobile applications.

But now we don't need to worry anymore because there is already a framework that is able to overcome the existing complexities. This framework is also known as React Native. React Native is a framework that is compiled using Javascript and has been developed by many companies, even big companies like Facebook. So you don't need to create hybrid apps anymore.

How to Install React Native on Windows 10


React Native also has benefits that we can feel such as being faster in working on applications, being more efficient and also having lots of templates that you can use. Not only that, React Native is perfect for you if you want to build a startup. Because it is very easy to program and the manufacturing process can be cross-platform.

If you are interested in using the React Native framework, then you have to install it first. Here are the steps for installing React Native on Windows 10.

  • The first step you have to do is to open the Command Prompt first. Type command prompt in the Windows search engine, then right-click on the application and click Run as Administrator.
  • To install react native, we have to install chocolatey first. Then type the command as shown in the image below. Or you can copy and paste on the chocolatey page which is in the Chocolatey Install section. Click Here to enter the chocolatey page. Then click Enter.
  • Wait a few moments until the process is complete. Then type the command choco install -y nodejs.install openjdk. Then click Enter. This command is a command to install nodejs and JDK.
  • Then you have to download python. Click the command choco install -y python2. Then click Enter.

choco install -y python2

  • Next we have to open the Android studio application. If you haven't installed it, it is recommended to install the Android Studio application first. Open the Android Studio app.
  • On the Android Studio startup screen, click the Configure menu.
  • Then various menus will appear. Click the SDK Manager menu.

SDK Manager menu


  • Then click the SDK Platforms menu as shown in the image below. Then put a check mark on the Android section with API level 29.

API level 29


  • Then click the SDK Tools menu. And put a check mark in the Show Package Details section so we can see the details of the displayed package. Then click the OK button.

click the OK button

  • Then click the OK button.
  • Then you will be redirected to the License Agreement section. Click the Accept option and click the Next button.

Next button


  • Wait until the downloading process is complete. Here you have to use a fast internet connection because usually the download size is large.
  • When the download is complete, click the Finish button.

Finish

  • Next we have to go to the Environment variable menu. Open the Control Panel tool. Then click the User Accounts menu.
  • Then click the User Accounts menu again.
  • In the menu, click the Change my environment variables menu.
  • Click the New menu and a New User Variable box will appear. Type the variable name to ANDROID_HOME. and in the variable value section, enter the SDK folder address. Then click OK.

New menu and

  • Then look for the name of the path variable and click Edit.

path

  • Then click the New menu.
  • Type the address of the platform-tools folder. Then click OK.

click OK

  • Then open the command prompt again and type the command npm install -g react-native-cli. Wait for the React Native installation process to complete. Then you can use react native.

use react native


That's the article that explains how to install React Native. Hopefully this article can help you in making desktop applications and Android applications easily.

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!