I am using the latest version of Android Studio (4.1.1). After updating the Mac operating system, Android Studio started encountering strange errors.
The most annoying problem I have ever had. When I want to open a new github branch, the window appears as below and freezes.
This is what it should normally look like.
Of course, this is the only window problem I've noticed. The most important problem here is that the screen freezes and no action can be taken.
If people who have problems or have a solution on this issue share it with me, everyone will benefit. Thank you.
Edit : This issue has been officially resolved in Android Studio 4.2.
Android Studio freezes on macOS Big Sur. On machines running macOS Big Sur, Android Studio 4.1 might freeze when you open a dialog. Go to the Apple Menu, select System Preferences > General. In the Prefer tabs when opening documents option, select "never". Then restart Android Studio.
The IDE freezing when opening tabs is due to macOS's default settings. Go to System Preferences > General > Prefer tabs and select never. Alternatively, you can run this command in Terminal if you want to keep tabs for all other apps except Android Studio (the ideal solution):
Android Studio 4.1.1 available Tuesday, November 10, 2020 Android Studio 4.1.1 is now available in the Stable channel. If you already have an Android Studio build on the Stable channel, you can get the update by clicking Help > Check for Update (Android Studio > Check for Updates on macOS).
The problem is that when macOS is set to prefer tabs, Android Studio 4.1.1 on macOS Big Sur also opens things like branch settings in tabs instead of windows.
To fix it, you can prevent those tabs only in Android Studio.
Open Terminal and run this command:
defaults write com.google.android.studio AppleWindowTabbingMode manual
Now Android Studio will use windows again and not crash.
Solution was found on reddit https://www.reddit.com/r/androiddev/comments/jtbl4m/has_anyone_updated_to_macos_big_sur_and_is/gc8pfhg/?utm_source=reddit&utm_medium=web2x&context=3
It's a known issue in Android Studio
As per Developer page -
Android Studio freezes on macOS Big Sur. On machines running macOS Big Sur, Android Studio 4.1 might freeze when you open a dialog.
To work around this issue, do one of the following:
Go to the Apple Menu, select System Preferences > General. In the Prefer tabs when opening documents option, select "never". Then restart Android Studio.
Upgrade to Android Studio 4.2, currently available in the Beta channel.
Otherwise, wait for the Stable Android Studio 4.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With