Android Studio 4.1.1- MacOS BigSur - Freezing Problem in FullScreen

爷,独闯天下 提交于 2020-12-29 03:51:25

问题


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.


回答1:


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, 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)




回答2:


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



来源:https://stackoverflow.com/questions/64952961/android-studio-4-1-1-macos-bigsur-freezing-problem-in-fullscreen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!