Member-only story

Steps that should follow after creating React Native Project.

Jayant Kumar🇮🇳
3 min readSep 29, 2024

--

Photo by Oskar Yildiz on Unsplash

Link For Non-Members

In this article we will talk about what are the steps that every beginner should follow to setup their React Native projects.

These steps are for both , if you are creating a fresh project or having an existing projects.

Step → 1

The very first step is to create a React Native project or have existing project so just clone it.

npx react-native init Poroject_Name

With the help of above command , we can create a React Native project

Existing Project

git clone https://www.username.github.com/project_name

Clone it if you have an existing project

Step → 2

After creating or cloning the project, open the project in VSCode and install the node modules.

npm install 

Sometimes , the above command doesn’t work when you clone the project and try to install Node Modules .

npm install --force

When you put a --force flag it will install the required packages.

Now next step is to setup the respective Android and IOS project.

Step → 3

Open the android folder in Android Studio .

When you open it in the android studio , It will start syncing the project . You can manually click on gradle icon to sync the project.

whatever you change in the React Native project , suppose you add any package , then make sure you came back in the Android studio and sync the project again.

After syncing the project , run the project from Android studio to check everything works fine.

Sometimes , we get the runtime exceptions that we cannot see in the Vscode terminal so it’s better to run from the android studio.

Step → 4

--

--

Jayant Kumar🇮🇳
Jayant Kumar🇮🇳

Written by Jayant Kumar🇮🇳

Hello My name is Jayant Kumar, I am a software Engineer , specialist in Mobile Development (Android , IOS , Flutter , React Native) from India 🇮🇳

No responses yet