Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Error! Execute OS Command error!
b’’
FAILURE: Build failed with an exception.
b’’

  • What went wrong:
    Unable to start the daemon process.
    This problem might be caused by incorrect configuration of the daemon.
    For example, an unrecognized jvm option is used.
    Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/6.6/userguide/gradle_daemon.html

Unrecognized VM option ‘MaxPermSize=1024m’
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
b’’
b’’

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    b’’
  • Get more help at https://help.gradle.org

解决:

打开项目 gradle.properties文件 1.在android studio中 ,在 JDK 17 中 -XX:MaxPermSize=size java选项已被删除,使用 -XX:MaxMetaspaceSize 。

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐