Installing React Native on your pc:
Requirements:
·
64-bit Microsoft® Windows® 8/10
·
x86_64 CPU architecture; 2nd
generation Intel Core or newer, or AMD CPU with support for a Windows
Hypervisor
·
8 GB RAM or more
·
8 GB of available disk space minimum
(IDE + Android SDK + Android Emulator)
· 1280 x 800 minimum screen resolution.
Downloading React Native:
Download it form the below link
https://reactnative.dev/docs/environment-setup
https://www.oracle.com/java/technologies/javase/jdk15-archive-downloads.html/
Now
install nodejs for the below link
https://nodejs.org/en/download/
while installing select automatically install necessary tools option.
Now
install android studio
https://developer.android.com/studio
Add
platform-tools to Path
·
Open the Windows Control Panel.
·
Click on User Accounts, then click User
Accounts again
·
Click on Change my environment variables
·
click on the add new option in the user
variable
·
now add the two paths which is given
below.
paths:
paths
for android sdk
C:\Users\Antony\AppData\Local\Android\Sdk.
path
for Java jdk
C:\Program Files\Java\jdk-15.0.2
To verify that the React native is installed
then try the below commands in the command prompt
react-native
Then you will receive the below output,
You did not pass any commands, run
`react-native --help` to see a list of all available commands.
And the React Native has
been installed.
Comments