Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

enter image description here

like image 567
Questioner Avatar asked Nov 29 '22 23:11

Questioner


2 Answers

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

like image 198
Kartik Shah Avatar answered Dec 04 '22 14:12

Kartik Shah


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.

like image 23
Brendon Whateley Avatar answered Dec 04 '22 13:12

Brendon Whateley