您的位置:首页 > 其它

Win7安装gradle

2015-07-07 14:17 876 查看
###1、下载
http://gradle.org/

###2、配置环境参数

配置GRADLE_HOME

添加到Path
;%GRADLE_HOME%\bin

###3、验证
gradle -version

###4、IDEA导入项目

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 http://gradle.org/docs/2.3/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

内存不足,在C:\Users\username.gradle下新建gradle.properties
org.gradle.jvmargs=-Xmx512m

###参考
http://jingyan.baidu.com/article/9225544684a97c851648f486.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  gradle