Android Studio--optimize speed win10 Android
A word: tell you my favorite word! If you are in the wind, you will!
Environment
Win10
Android Studio installation path: C:\Program files\android\android Studio
Cancel to turn on Automatic Updates
Go to File----Setting---Appearance & Behavier---System settings--Update, remove the atuomatically updates ch Eck for "Tick, click Apply
Turn off Updates
Increase virtual memory to prevent lag
Locate studio64.exe.vmoptions under the as installation directory to modify the following parameters
# 最小值-Xms256m# 最大值-Xmx2048m
2028m Not enough words can be raised, but to ensure that their computer's memory enough, personal understanding
My Computer modified the above two on the speed and the lag is a lot of optimization, in the Internet also found other methods, try to effect the general, together in here
Turn on gradle separate daemon
Increase the size of Gradle running Java Virtual machine, let gradle use independent process when compiling, let Gradle can run parallel
Navigate to C:\users<username>.gradle, open (Create) gradle.properties file, add content
org.gradle.daemon=true
Start optimization
Navigate to the bin under the installation directory, open idea.properties, and add the end
disable.android.first.run=true
Cheng Jue, do not know this is the optimization of something ...
Optimized compilation
Open the Settings page Settings, Build,execution,deployment, Compiler, with the exception of the second tick
Cancel Automatic download of third-party libraries
Open Settings page Settings, build,execution,deployment, Gradle,offline
Summarize
In this, continue to toss
Android Studio-Optimize speed