问题开始
问题点
我本来是用的10.15.4,没有出现过问题,当我听从我的朋友把系统升级到11.2.3后,使用Android Sudio后出现了卡死,(我一开始不在使用,再写后台)本来不知道什么原因。我然后把Android Studio删了重新安装,还是有这个问题。完全删除还是不行,换了低版本也一样有问题。
经过多次测试,发现打开一个项目是没有问题的,也就是说一个窗口的情况下是没有问题的。问题点找到了,百度一下,你就清楚了。
完全删除Android Studio (不解决问题)
# Deletes the Android Studio application
# Note that this may be different depending on what you named the application as, or whether you downloaded the preview version
rm -Rf /Applications/Android\ Studio.app
# Delete All Android Studio related preferences
# The asterisk here should target all folders/files beginning with the string before it
rm -Rf ~/Library/Preferences/AndroidStudio*
# Deletes the Android Studio's plist file
rm -Rf ~/Library/Preferences/com.google.android.*
# Deletes the Android Emulator's plist file
rm -Rf ~/Library/Preferences/com.android.*
# Deletes mainly plugins (or at least according to what mine (Edric) contains)
rm -Rf ~/Library/Application\ Support/AndroidStudio*
# Deletes all logs that Android Studio outputs
rm -Rf ~/Library/Logs/AndroidStudio*
# Deletes Android Studio's caches
rm -Rf ~/Library/Caches/AndroidStudio*
# Deletes older versions of Android Studio
rm -Rf ~/.AndroidStudio*
# Deletes gradle
rm -Rf ~/.gradle
# Deletes Android SDK tools
rm -Rf ~/Library/Android*
关闭Tab的窗口
关闭Tab窗口,有两种,一种是指定某个app的窗口不给同一个界面下显示两个窗口。一直直接关闭所有的界面。
1.指定Android Studio 关闭窗口
defaults write com.google.android.studio AppleWindowTabbingMode manual
2.关闭所有的窗口
系统偏好设置 > 通用,在首选以标签页方式打开文稿 选项中,选择“永不”