# Speed up your Android Studio

DevFeed: [Speed up your Android Studio](<https://devfeed.tech/articles/speed-up-your-android-studio-25221.md>)

Original publisher: [Read original article](<https://kau.sh/blog/android-studio-slow-as-fxxx/>)

Author: Kaushik Gopal

Published: 2019-08-19T07:00:00Z

Content type: tutorial

Language: en

Sources: [Kaushik Gopal's Site](<https://devfeed.tech/sources/kaushik-gopal-s-site.md>)

Topics: [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [android-studio](<https://devfeed.tech/tags/android-studio.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [java](<https://devfeed.tech/tags/java.md>)

## AI overview

A practical guide to improving Android Studio performance by using a local Gradle distribution, matching the JDK used by Android Studio and command-line Gradle, disabling unnecessary plugins, and adjusting custom VM options.

## Source excerpt

I use a 13" MacBook Pro at work these days. Android Studio frequently sent my machine into a tailspin. Over time, I've had to tweak and update my AS settings to make AS work well on the 13". I figured I should post them here for posterity and the benefit of other AndroidDevs battling with deathly slow AS experiences. I'm posting the abridged instructions and linking to the blog posts that led me to these settings, if you care for the details. Switch to a local gradle distribution # curl -s "https://get.sdkman.io" | bash # install sdkman # install your preferred version of gradle sdk install gradle 5.4.1 sdk default gradle 5.4.1 gradle --status Once you have a local distribution of gradle installed, switch the "Gradle home:" setting in your Android Studio project to point to your local gradle distribution. You'll have to do these for all your projects individually. With this setup, when you run gradle on the command line or Android Studio, they'll share the same gradle daemon instances. ☝ also make sure the daemons from AS and your command line are compatible ## Well almost. You also have to make sure you're using the same JDK otherwise the gradle daemons will be incompatible. # you have sdkman installed already sdk install java 8.0.202-zulu # use java 8 preferably sdk default java 8.0.202-zulu sdk install kotlin # cause why not Now point Android Studio to use this jdk like so: 💥 now we're in business. Disable any useless plugins or add-ons that you don't need # Don't get carried away and disable everything here. It will hose your Android Studio. I know this cause I sure as hell tried. The only plugins I have enabled are: (Downloaded) IdeaVim Android APK Suport Android NDK Support Git Integration (cause i like Intellij's Differ) Gradle Groovy Il8n for Java Intellij Configuration Script IntelliLang Java Bytecode Decompiler JUnit Kotlin Properties Support Smali Support YAML Everything else is disabled. This crony from Bob's Discount Action Bars apparently knows a thin