Prerequisites
Before we begin, make sure you have the following installed on your Windows machine:
Node.js: JavaScript runtime for building scalable network applications.
from
Java Development Kit (JDK): Required for Android development.
https://download.oracle.com/java/22/latest/jdk-22_windows-x64_bin.exe (sha256)
Android Studio: Includes the Android SDK, which is necessary for running and testing Android applications.
Download and install Android Studio.
During the installation, ensure the following components are selected:
Android SDK
Android SDK Platform
Android Virtual Device
Add the following environment variables:
ANDROID_HOME: Set this to the path of your Android SDK. The default location is usually
C:\Users\<Your-Username>\AppData\Local\Android\Sdk
.Path: Add the following paths to your
Path
variable:%ANDROID_HOME%\emulator %ANDROID_HOME%\tools %ANDROID_HOME%\tools\bin %ANDROID_HOME%\platform-tools
Install React Native CLI
Open a new Command Prompt or PowerShell window.
Run the following command to install the React Native CLI globally:
npm install -g react-native-cli
Create a New React Native Project
npx create-expo-app Myapp --template blank
7. Run Your React Native App
Navigate to your project directory:
cd Myapp
To run your app on an Android emulator or connected device, execute:
npx expo start
From now onwards i will be creating one react native project and add daily progress in the form of blog to help others build the same