: Command failed: call gradlew.bat assembleDebug when building an android project

: Error: Command failed: call gradlew.bat assembleDebug when building an android project

  • What went wrong:

Could not determine java version from "9.0.4.

is my jdk version too high?

clipboard.png

Mar.11,2021

have you solved it? I also have this problem


have you solved it?
mine is similar to yours
Error: Error: Command failed: call gradlew.bat assembleRelease
ask for help


Gradle related content under local configuration. Refer to https://gradle.org/ and android configuration gradle related


after you build the weex project, the gradle and other configurations in it are not up-to-date. You first ignore this problem, import the project into AS, and then modify the gradle version and the latest gradle plug-in in AS. After modification, you can build again


download gradle, Configure the environment variable https://blog.csdn.net/qq_1552.

Menu