Android Studio提升编译速度

1. 项目gradle.properties

文件里面加

android.enableD8=true
org.gradle.daemon
=true
org.gradle.jvmargs
=-Xmx8192m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8


2. gradle/gradle-wrapper.properties

开启本地IIS服务

https://blog.csdn.net/mr_pang/article/details/48863551

配置成本地:

distributionUrl=http\://127.0.0.1/gradle-3.3-all.zip




猜你喜欢

转载自blog.csdn.net/hnlgzb/article/details/80976118