Android Studio Super-Slow, Lagging & Crashes on Any New Window Opening- Mac, Need Help Debugging

Viewed 2185

After the latest Android Studio updates on MacBook Pro I have been having an issue making Android Studio completely unusable!

Every time I open a new window in Android Studio it semi-crashes until I force quit the program. If I attempt to open preferences, or create a new activity or even install the newest Kotlin beta the program crashes. Anything to do with opening a new window (seems to be the common denominator) crashes Studio.

Here is what happens: The window opens full-screen, unlike previously where all windows would open as a popup window. Android Studio starts lagging with all button presses 30 seconds to 2 minutes, it also starts using over 100% CPU power, gets super hot and destroys the battery as a result. For information, my laptop is powerful enough to run many open applications simultaneously without even a hiccup such as 3d modelling, Xcode, Android Studio, Chrome, etc. So computing power and memory is no issue.

I tried opening windows and creating new activities in my main project as well as a brand new project just in case it was a project issue but nope, same problems. I tried googling and no such issues. I wanted to check here to see if anyone has any advice or quick fixes before I attempt to uninstall and re-install.

4 Answers

So I solved it finally, could not wait for an answer.

I ended up uninstalling with this info here: https://howchoo.com/macos/how-to-completely-uninstall-android-studio-on-macos-and-os-x

run the following in terminal:

    rm -Rf /Applications/Android\ Studio.app
    rm -Rf ~/Library/Preferences/AndroidStudio*
    rm -Rf ~/Library/Preferences/com.google.android.*
    rm -Rf ~/Library/Preferences/com.android.*
    rm -Rf ~/Library/Application\ Support/AndroidStudio*
    rm -Rf ~/Library/Logs/AndroidStudio*
    rm -Rf ~/Library/Caches/AndroidStudio*
    rm -Rf ~/.AndroidStudio*

I then installed the previous working Studio (4.1) here: https://developer.android.com/studio/archive.html

Hope this might help someone else.

Select

Apple Menu --> System Preferences --> General --> Prefer tabs 

Select never. Then restart Android Studio.

I am using Android Studio 4.1, but you can upgrade to available version

Related