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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |