Prerequisites and Installation Guide for React Native

Prerequisites and Installation Guide for React Native

For Windows

Hola coders,

In this article, we will learn about prerequisites and tools installation on Windows.

Prerequisite

  • Laptop with basic configuration (min 4GB RAM)

  • Basic knowledge of JavaScript

Tools Required

NOTE: For smooth installtion of Node JS and Java SDK, we can use a windows package manager that is chocolatey.

You can refer to the video created by Hitesh Choudhary .

Chocolatey DOC

Still facing certain issue while installing chocolatey, you can take help from following links which helped me in smooth installation.

Error Solution

  • Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (406) Not Acceptable." At line:1 char:166 + ... -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('ht ... LINK

  • Exception calling "DownloadString" with "1" argument(s): "The underlying connection was closed: An unexpected error occurred on a receive." LINK

Once chocolatey is successfully installed, you can install Node JS and Java SDK using the following command in PowerShell.

choco install -y nodejs-lts microsoft-openjdk11

Verify the successful installation as following commands. If you get a number it's installed properly.

  • node --version

  • java --version

Android Installation

Download an .exe file from link and just click next next I agree. It will download android studio successfully.

We will not use Android Studio, need to install for certain builds to execute App in Android Phone.

One such tool is ADB-> Android Debugger Bridge.

Execute adb --version. For proper installation. In case, you get an error refer to the link and download platform-tools and add it to the PATH.

Now, you are good to go and get started with React Native.

The End

I hope you enjoyed the article and had a good learning experience.

Follow for more articles and keep sharing👩

Keep coding

Linkedin

hashnode blogs

Did you find this article valuable?

Support akshita garg by becoming a sponsor. Any amount is appreciated!