Android Studio is Slow: How to Make Android Studio Fast

How to Speed Up Android Studio

Just follow some tips to speed up your android studio.

Enable Offline Work:

In android studio, you can enable offline work to make android studio run faster. To enable offline in android studio, just follow following steps:

Step 1: Open your Android Studio, Go to file >> settings or simply press ctrl + alt + s, new window appears there which looks like this.

Android Studio Setting

Step 2: From side menu, click Gradle and check Offline work under Global Gradle setting and hit OK button, file >> settings >> Gradle.

Android Studio Setting- Gradle

Step 3: Again, Go to file >> setting and click Compiler from side menu and then type --offline in the command-line options box and hit OK button like this:



Android Studio Setting- Compiler

Note: After Completing these all ways you should restart your Android Studio.

Improve Gradle Performance
After opening android studio, open gradle.properties file from right side of android studio and add the following two lines.
org.gradle.daemon=true
org.gradle.parallel=true

Look at this screenshot to add these two lines in gradle.properties file:

Note: After Completing these all ways, you should restart your Android Studio.

Android Studio Setting- gradle.properties file

How to extract filename from Uri?

Now, we can extract filename with and without extension :) You will convert your bitmap to uri and get the real path of your file. Now w...