cordova build错误:Unable to start the daemon process
来源:互联网 发布:iphone闪存检测软件 编辑:程序博客网 时间:2024/06/14 05:51
遇到这个错误,搜了一下网上的方法,试过了都不行。这些方法是:
1)在当前用户下的.gradle文件下修改或新增gradle.properties文件,内容为-Xmx512m或org.gradle.jvmargs=-Xmx512m。
2)删除整个.gradle文件,重新编译.
3) 在gradle的安装目录,编辑bin文件夹下的gradle
文件,在# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script下添加语句:GRADLE_OPTS=-Dgradle.user.home=/yourpath/gradle/gradle_cache。
4)设置GRADLE_OPTS的系统环境变量
变量,内容为-Xmx512m或org.gradle.jvmargs=-Xmx512m。
后来考虑版本,显示将cordova的版本换为6.0.0,然后执行语句cordova requirements,显示没有安装ADK 23,遂安装,重新编译后成功。
相关链接:
http://serve.3ezy.com/stackoverflow.com/questions/30384375/
http://www.cnblogs.com/yanxiaodi/p/5750860.html
http://m.blog.csdn.net/article/details?id=52024632
http://blog.csdn.net/huangxr874668739/article/details/40537361
- cordova build错误:Unable to start the daemon process
- cordova build android 打包编译时报错,错误为unable to start the daemon process ......
- Android----Error:Unable to start the daemon process:错误
- android studio 错误Error:Unable to start the daemon process.
- grails:Unable to start the daemon process
- Unable to start the daemon process
- Error:Unable to start the daemon process.
- Unable to start the daemon process
- Unable to start the daemon process.解决办法
- Unable to start the daemon process
- Unable to start the daemon process
- ionic cordova run android 报Unable to start the daemon process的解决办法
- AndroidStudio升级到2.2版本以后发生错误Error:Unable to start the daemon process.
- android studio Error:Unable to start the daemon process
- [Android Studio ERROR]Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- android studio Error:Unable to start the daemon process
- Kotlin学习资源
- 计算某个时间与当前的时间差
- LearningNotes 变分自编码(VariationalAutoEncoder VAE)
- JVM类生命周期概述:加载时机与加载过程
- 随机事件中的概率约束与样本约束
- cordova build错误:Unable to start the daemon process
- 服务器的瞬时 Diffie-Hellman 公共密钥过
- Spring对CXF的整合
- MySQL ProxySQL读写分离实践
- 基于Eclipse的Android开发环境搭建
- 设计模式-工厂模式
- 121. Best Time to Buy and Sell Stock
- nodejs adm-zip 解压文件 中文文件名乱码
- JAVA基础面试题