Android之如何让Android studio编译更快
【摘要】 1、 开启gradle单独的守护进程
在下面的目录下面创建gradle.properties文件
/home/<username>/.gradle/ (Linux)/Users/<username>/.gradle/ (Mac)C:\Users\<username>\.gradle (Wind...
1、 开启gradle单独的守护进程
在下面的目录下面创建gradle.properties文件
-
/home/<username>/.gradle/ (Linux)
-
/Users/<username>/.gradle/ (Mac)
-
C:\Users\<username>\.gradle (Windows)
最好是从一个项目里面拷贝过来然后修改下
-
#Project-wide Gradle settings.
-
-
# IDE (e.g. Android Studio) users:
-
# Settings specified in this file will override any Gradle settings
-
# configured through the IDE.
-
-
# For more details on how to configure your build environment visit
-
# http://www.gradle.org/docs/current/userguide/build_environment.html
-
-
# The Gradle daemon aims to improve the startup and execution time of Gradle.
-
# When set to true the Gradle daemon is to run the build.
-
# TODO: disable daemon on CI, since builds should be clean and reliable on servers
-
org.gradle.daemon=true
-
-
# Specifies the JVM arguments used for the daemon process.
-
# The setting is particularly use
文章来源: chenyu.blog.csdn.net,作者:chen.yu,版权归原作者所有,如需转载,请联系作者。
原文链接:chenyu.blog.csdn.net/article/details/70245095
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)