How To Speed Up Android Studio On A Mac
Solution 1:
I did the following to resolve the Android Studio slowness.
Go to Android -> Preferences -> Build, Execution, Deployment -> Compiler
Check the Option -
Compile independent modules in parallel (may require larger heap size)
Set VM Options to :
-Xmx2048m -XX:MaxPermSize=512
Restart Android Studio.
Solution 2:
After understanding of @Benjamin and @Marco Hc, I captured a screenshot and tried to represent the solution graphically. Every number in the picture represents the flow of the solution:
Go to Android -> Preferences
Click on Build, Execution, Deployment
Click on -> Compiler
Check the Option - Compile independent modules in parallel (may require larger heap size)
Check on Use in-process build" and "Configuration on demand and click OK button
Restart Android Studio and that's it.
Solution 3:
It's more than enough, there are some tricks to improve your Android Studio performance:
Activate gradle deamon: https://www.timroes.de/2013/09/12/speed-up-gradle/
Activate Compiler features: Settings -> Compiler, then activate "Compiler independent...", "Use in-process build" and "Configuration on demand".
With these two tricks you'll feel the difference. Let me know.
Cheers!
Solution 4:
Yes, that is enough computer. I use Android Studio on both my Mid 2011 iMac and my MBP 2.5GHz i7. Android Studio and the emulator are pretty slow to load on the iMac, but I do not have the issues while typing that you describe on either machine.
What version of Android Studio are you using?
Solution 5:
In my case, I saw that only Android Studio was laggy (problems while typing or using the mouse). The other apps were ok.
I had a look to "activity monitor" and saw in the "processor" and "memory" tabs that some apps regularly induced peaks on the processor graph or memory graph. You can also see that these apps move a lot in the listing (going up and down) during the peaks.
I noticed that the apps inducing peaks were:
- "Kies" app by Samsung : I removed it from the apps launched at startup and deleted this crap app
- "CrashPlan" (a backup app): I launched the app and logged into it (it was not logged in)
- I desactivated Apple speech recognition in my Mac settings (a process named "applespeechrecognition" or something like that)
My Mac is now much faster and have no more problems with Android Studio ! :)
Post a Comment for "How To Speed Up Android Studio On A Mac"