5/26/2023 0 Comments React native android studio![]() Setting up your development environment is a little bit difficult, So I would like to suggest you go with easy step 4.1 Install AndroidStudioĭownload and install Android Studio You can have to recommend installation type. Consequently, we will need to set Java 1.8 as default, for do that run the below command sudo apt install oracle-java8-set-default 3.5 Now verify java installation javac -version 4. For React Native mobile app development 1.8 is more stable. You can install multiple Java Installation in one machine version. You can install using the following command sudo apt install oracle-java8-installer 3.4 Set default Version Now install Oracle JDK 1.8, that recommended version for React Native Development. To install JDK 8, follow the below steps 3.1 First, We have to add Oracle’s PPA sudo add-apt-repository ppa:webupd8team/java 3.2 Now update your package repository. If the above command run successfully then no need to run this command curl -0 -L | sudo sh 3. If you get an error like Cannot find module ‘npmlog’ you can install npm directly using this command. Furthermore, Install React Native CLI For installing React Native CLI run below command on terminal npm install -g react-native-cli ![]() ![]() just run below command sudo apt install nodejs npm 1.3 Verify nodejs installation or you can say check nodejs version using this command nodejs -version 1.4 Now install npm sudo apt install npm 1.5 Verify the installation npm -version or npm -v 2. 1.1 Update apt package manager sudo apt update 1.2 Install nodejs using apt package manager. ![]()
0 Comments
Leave a Reply. |