react-native installation process 1.npx react-native init AwesomeProject reports an error Run cd ./demo/ios && pod install to solve the problem 2. Install JDK (1) brew install adoptopenjdk/openjdk/adoptopenjdk8
This error does not affect the environment. Note that the official version 1.8 is also called version 8, which is not recognized by the doctor. 3. Create a configuration file ~/.zshrc (1). You can use the echo $0 command to check the shell you are using. Check the Java installation path and configure the Java environment variables (not necessarily required, but I configured it) WARNING: export JAVA_HOME export CLASSPATH Run Java - version, it shows The installation is successful 2. When installing Android SDK, an error message appears saying that the version does not match. Click Show Package Details to install the corresponding version. Configure ANDROID_HOME environment variable (1) Check the installation path of the SDK in Android studio (2) Configure the ANDROID_HOME environment variable in .zshrc Environment installation successful 4. Run npm run androidThe app cannot be installed in reality, and an error is reported in port 8081. After switching to a foreign data source, the installation is normal. This is the end of this article about react native environment installation. For more relevant react native environment installation content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Detailed tutorial on installation and configuration of nginx under Centos7
>>: Navicat multiple ways to modify MySQL database password
Types of Indexes in MySQL Generally, they can be ...
Table of contents Introduction to frm files and i...
React is an open-source JavaScript library used b...
Table of contents vue custom directive Global Dir...
1|0MySQL (MariaDB) 1|11. Description MariaDB data...
1. Enter the Docker official website First, go to...
Overview In the previous chapter, we learned abou...
Based on the Vue image magnifier component packag...
Table of contents origin status quo Cancel reques...
There is a big difference between the writing ord...
Table of contents 1. Enter a directory and create...
Table of contents The basic principle of MySQL ma...
Combining the various problems I encountered in m...
Preface I recently wrote a small demo. Because I ...
I encountered this problem when I was making the ...