android studio Error:Unable to start the daemon process

前端 未结 4 714
清歌不尽
清歌不尽 2021-01-12 16:07

Version of Android Studio 2.2 OS version: Windows 10 Java JRE/JDK version: 1.8.0_51

Error:Unable to start the daemon process. This problem might be

4条回答
  •  醉话见心
    2021-01-12 16:58

    In your project file\platforms\android\cordova\lib\builders\GradleBuilder.js Search for args.push and search for the line with the below description. Mine was Xmx2048m. I changed to Xmx1024m and it worked. 16MB of RAM in my pc. Change

    args.push('-Dorg.gradle.jvmargs=-Xmx1024m'); 
    

提交回复
热议问题