React Native is a common JavaScript framework used in developing a mobile application. This framework lets developers create an application for various platforms by using the same codebase.
To create a React Native project using CLI, we will the command:
npx react-native init name-of-your-project
![](https://www.nucleiotechnologies.com/wp-content/uploads/2021/09/image-249.png)
![](https://www.nucleiotechnologies.com/wp-content/uploads/2021/09/image-250.png)
Go to the Project folder and open it on Visual Studio Code in order to build your Project.
![](https://www.nucleiotechnologies.com/wp-content/uploads/2021/09/image-256-1024x554.png)
To test the mobile app development, we can start the packager start up called Metro by using the command:
npx react-native start
![](https://www.nucleiotechnologies.com/wp-content/uploads/2021/09/image-251.png)
![](https://www.nucleiotechnologies.com/wp-content/uploads/2021/09/image-252.png)
You’ll see the logo of The Metro Bundler and after that, open up the android studio emulator and in another command prompt, go to the project path and type:
npx react-native run-android
![](https://www.nucleiotechnologies.com/wp-content/uploads/2021/09/image-253.png)
![](https://www.nucleiotechnologies.com/wp-content/uploads/2021/09/image-254.png)
It may take some time but once it’s finish, your React Native Project will appear on the Android Studio Emulator.
![](https://www.nucleiotechnologies.com/wp-content/uploads/2021/09/image-257-1024x561.png)