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
Element UI implements multiple tables scrolling a...
This article example shares the specific code of ...
If you want to exit bash, there are two options: ...
The use of ElementUI paging component Pagination ...
Table of contents JavaScript function call classi...
Judgment symbols are often used in MySQL, and not...
This article example shares the specific code of ...
What is volume? Volume means capacity in English,...
Table of contents What is cgroup Composition of c...
CSS style specifications 1. Class Selector 2. Tag...
Say it in advance Nodejs reads the database as an...
Table of contents 1. Introduction to PXC 1.1 Intr...
This article uses examples to describe the basic ...
Preface There are two types of nginx modules, off...
1. RPM version installation Check if there are ot...