Getting Started With React-native Step by Step in Simple Steps
To run android studio smoothly we need system of below configuration
👉 minimum requirement :
- 256 SSD
- 12 GB DDR3
- Core i5
👉 best :
- 512 SSD
- 24 GB DDR4
- Core i7
Node, JDK , Android Studio
👉 Install latest JDK Click Here to Download JDK
👉 Install latest Node.js Click Here to Download Node.js
👉 Install Android Studio Click Here To Download Android Studio
Now open Android Studio and navigate to SDK Manager>SDK Platform >Show Package Details>Android SDK Build-Tools>29.0.2>Apply to download and install the Android SDK and related build tools.
Configure the ANDROID_HOME environment variable
👉 Add Local Variable
ANDROID_HOME - C:\Users\Username\AppData\Local\Android\Sdk
👉 Add this path to Local Path
C:\Users\Username\AppData\Local\Android\Sdk\tools
C:\Users\Username\AppData\Local\Android\Sdk\platform-tools
Method 1: Install React Native Command Line Interface and React-Native project
👉 Open nodejs command promp and run command npx react-native
👉 npx react-native init Myfistproject
👉 cd Myfistproject
👉 npx react-native run-android
Method 2: Install React Native Command Line Interface and React-Native project
👉 Open nodejs command promp and run command npx react-native
👉 npm install -g react-native-cli
👉 react-native init ProjectName --version react-native
👉 cd ProjectName
👉 react-native run-android
0 Comments