The JDK version must be 1.8 or later.
Set up the React Native development environment. For details, please refer to Setting up the development environment.
The JDK version must be 1.8 or later.
React Native Push Plugin is not supported by Expo CLI. Use React Native CLI instead.
To use the APIs of Push Kit, you need to download and install HMS Core (APK) 4.0.0 or later on your device.
Pay special attention to the following:
Go to
, select Android 10.0 and Android 9.0, and click . Android Studio will automatically download and install Android SDK 10.0 (API level 29) and 9.0 (API level 28).Open the Control Panel on the Windows, go to ANDROID_HOME system or user variable that points to the directory to your Android SDK.
, and create anOpen the Control Panel on the Windows, go to Path variable, and click . Then, click and add the platform-tools directory to the list.
, select theThe platform-tools directory is under the Android SDK directory. After setting the environment variable ANDROID_HOME in the previous step, add %ANDROID_HOME%\platform-tools to the Path variable.
React Native requires Python 2.X, Node, and Android Studio to be installed on your computer.
The JDK version must be 1.8 or later.
According to the requirements of React Native, Python 2.X must be installed.
For details about the installation and configuration methods, please refer to documents on the official Python website.
For details about the installation and configuration methods, please visit the official Node website.