请依次尝试,直到build速度加快为止。
-
勾选Use local gradle distribution 选择gradle位置
勾选Offline work
-
勾选Compile independent modules in parallel
勾选Make project automatically
-
编辑studio64.exe.vmoptions
-Xms128m
-Xmx2048m//酌情调整此处
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=64m
-XX:+UseCodeCacheFlushing
-XX:+UseCompressedOops
//调整后请重启Android studio
-
点击 File > Settings > Editor > File Types 填入 Thumbs.db;