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
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
相关文章推荐
- SourceProvider.getJniDirectories
- 执行失败的任务 ': processDebugManifest'
- Android Studio使用教程(六):Gradle多渠道打包
- Android Studio使用教程(四):Gradle基础
- Android Studio使用教程(五):Gradle命令详解和导入第三方包
- 关于Android Studio 和 Gradle的那些事儿
- maven用户试用gradle
- 用Gradle 构建你的android程序
- 用Gradle 构建你的android程序-依赖管理篇
- Gradle 构建 android 应用常见问题解决指南
- Adnroid Studio Gradle 多渠道打包
- Gradle,构建工具的未来?
- gradle安装
- 如何在 Eclipse 下用 Gradle 构建 Web Application
- Android Studio 1.2中配置androidannotations
- Android Studio 初始新建项目时 build gradle project 超级慢的原因
- Android Studio Gradle project refresh failed No such property classpath for class
- build.gradle模板文件
- Android Gradle编译学习日记之一(搭建 Gradle 环境以及编译 Android 应用)