cocos creator build release [generate] error report, solve the problem

Please add image description

       1. When a problem occurs, check the log to browse the specific error information, as follows:
Please add image description
       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

Please add image description

Guess you like

Origin blog.csdn.net/mingketao/article/details/128005961