Android Studio-Optimize speed

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.