
The SDK Manager can be accessed from the Welcome to Android Studio screen. Additional Android SDKs can be installed through the SDK Manager in Android Studio. Building a React Native app with native code, however, requires the Android 6.0 (Marshmallow) SDK in particular. Setting up Android SDKĪndroid Studio installs the latest Android SDK by default. We can easily download it from the official website that I have given below. Sudo apt-get install openjdk-8-jdk Install Android StudioĪndroid studio needs to be installed for working with React Native development. sudo add-apt-repository ppa:openjdk-r/ppa


To install the JDK using the commands below. Actually, when building an app using React Native, it converts the JSX code to Java. So Java Development Kit(JDK) is required to work with React Native projects. Native Android apps are built using Java. However, we can install the latest version for NPM using the command below. NPM will be installed with the Nodejs installation itself. Sudo apt-get install -y nodejs Install NPM

So curl the latest Node.js package and install the stable version of Node.js on our system using the below commands. Since React Native is a framework of JavaScript, it requires to have Nodejs(A JavaScript runtime) installed. Running the application on an Android device.Choosing the code editor and start editing our app.Creating a new React Native application.Configure ANDROID_HOME environment variable.Here in this article, we will learn the following things:.
