简体   繁体   中英

Android Studio hangs on "Tip of the Day"

When I start up Android studio, it opens "Tip of the Day", which I cannot close although I can click the X (not the close button though). It says 'Gradle sync started' at the bottom, which never goes away. I attached a screenshot.

在此处输入图像描述

I am on MacOs Big Sur and resolved the issue by going to System preferences >> General >> Prefer tabs "never" when opening documents.

I just ran into Android Studio hanging as it started. On the Mac, I was able to resolve the issue by deleting the options file specifying the JDK Studio should use. In my case that file was removed as follows:

rm ~/Library/Preferences/AndroidStudioPreview3.3/studio.jdk

It seems that Android Studio hangs if the specified SDK is too new. Removing the file lets it fall back to its own included JDK.

To solve the problem permanently:-

defaults write com.google.android.studio AppleWindowTabbingMode manual 

Run the above syntax in terminal. Then quit the Android Studio and Restart it.

It solved the issue for me.

Freeze was caused by a plugin in the background not working properly (Team Foundation Server Version Control Integration).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM