A very quick and constructive trick to boost Android Studio

As an android programmer, nosotros go to spend a huge chunk of our time on Android Studio, the Google's official compiler for developing native Android apps. Over the years, it has evolved into a very powerful IDE with lots of features and functionalities. But there are still some bug, which hasn't been stock-still all the same for a lots of developers due to various reasons such equally Gradle build time, Android Studio speed etc.

Gradle —The Biggest Nightmare of Every Android Developer

There have been many articles including official documentation on how to speed up. Some works and some not. But this article is non about gradle build time. Rather this is near more mutual but frustrating problem: irksome Android Studio. Allow's encounter how to speed it and brand it faster in some very piece of cake ways.


In that location is a supporting video for this weblog mail service if yous would prefer to learn well-nigh this fox to speed up Android Studio.


⚙️ Android Studio Requirements

Co-ordinate to Android Studio'south official system requirements, information technology takes at minimum 3 GB RAM to run smoothly. Honestly, its a lot and I believe that is the biggest cause of being information technology besides slow all the time.

The Android Studio's System Requirements from their [Official Website](https://developer.android.com/studio/)

The android developers are always complaining about the speed of Android Studio and how its slow ALL THE TIME. This makes overall development tiresome and frustrating. Information technology affects productivity negatively.

Some Memes from DevRant ([https://devrant.com/search?term=android+studio](https://devrant.com/search?term=android+studio))

Then enough chit chat. Let's come across how to brand information technology a lot faster in a very easy manner.


🚀Speeding Up Android Studio

You might have read unlike tricks such every bit Offline Gradle, increasing retentiveness in gradle.properties file, disabling Instant Run and so on. Let me testify yous a very easy way, shared past none other than Jake Wharton on Reddit about a year agone.

A [comment from Jake Wharton](https://www.reddit.com/r/androiddev/comments/7sxhig/android_studio_slower_when_using_kotlin/dt88pgn) on a [post on Reddit](https://www.reddit.com/r/androiddev/comments/7sxhig/android_studio_slower_when_using_kotlin/)

Then, permit me show yous how to do this.

Kickoff, click on File -> Settings -> Plugins to open dialog similar this.

The Plugins section in Settings in Android

Now, disable or Cheque Off all the plugins which not usable for yous. I have disabled following:

  • Android APK Back up

  • Android Games

  • Android NDK

  • App Links Assistant

  • Copyright

  • Coverage

  • CVS Integeration

  • Editor Config

  • Fabric for Android Studio

  • Firebase (App Indexing, Services, Testing)

  • Github

  • Google (Cloud Tools Core, Cloud Tools for Android, Developer Samples, Login, Services)

  • Markdown Back up

  • Mercurial integration

  • hg4idea

  • Settings repository

  • Subversion integration

  • Task management

  • Exam recorder

  • TestNG-J

  • YAML

Now, you dialog volition be something like this:

The Plugins section after disabling some plugins in Settings in Android

Now, click Apply -> OK and restart Android Studio. You'll feel the difference instantly I bet.


🤔 What If I Need Whatsoever Plugin Later?

For example, at some point your app needs Firebase App Links and y'all want to use the plugin. Then merely enable it for a temporary time. Do your piece of work. And then you can disable information technology again.


💡 More Suggestions From Readers of This Article

Cheers to all the readers including you lot for reading and affectionate this article. Information technology means life to me. Some readers have been kind plenty to share their suggestions to speed up Android Studio through comments, twitter, and other means.

  • Linux performs better for Android Studio than Windows.

  • Android Studio needs at least viii GB RAM to run better.

  • Change your Hard Disk to SSD. Loading/Compiling/Designing/Writing time will be reduced even in 4GB RAM.

  • Apply Power Save way from File Menu that will reduce lots of background work.

  • Change and configure Highlighting Level to Syntax or None from bottom right corner of status-bar. Retrieve this will disable syntax highlighting of fault code.

  • If you are using any antivirus , make sure to add Exception of all android studio directories (android, java, .android, .gradle, .androidstudio(version number) all those folders ). Then information technology won't try and Scan those while you are using Android Studio. It makes it fifty-fifty faster.

Thank you Ivan Panasiuk, Sooraj R, Chila Kasonde, M Bip, Yogesh Gosavi, and Jeorane - Costureiro

I hope this volition ready your problem and make your Android Studio faster and your app development faster. 😃 Happy App Coding.