cordova build 报错

当cordova build 报如下错误时

Error: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 guide chapter on the daemon at https://docs.gradle.org/3.3/userguide/gradle_daemon.html
Please read the following process output to find out more ····

在C盘user中的 .gradle 文件夹中创建 gradle.properties 文件 ,

在文件内 输入  org.gradle.jvmargs=-Xmx1024m -XX:MaxPermSize=512m 此内容 保存即可

posted @ 2022-04-16 10:27    阅读(54)  评论(0编辑  收藏  举报