1. When a problem occurs, check the log to browse the specific error information, as follows:
2. JAVA_HOME is not set and no 'java' command could be found in your PATH
java_home prompt is not configured in win. When the configuration is completed, java -version After getting the information, you need to restart your computer. (Cocos creator still reported an error after configuring java_home, but no error was reported after restarting)
3.NDK at C:\Users\Administrator\AppData\Local\Android\Sdk\ndk did not have a source.properties file
prompts that SDK and NDK need to be set up. If specific installation is required, you can download sdk and ndk through Android studio or Baidu download sdk and ndk