Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio stuck on loading screen

Every time I run Android Studio, this loading screen pops up, but Android Studio stays here and doesn't load. It's like this following picture except that the loading bar is loaded all the way but stuck there. I am running Windows 10.

enter image description here

I have tried many things, including setting the system variables JDK_HOME to where my JDK is located and the same for JAVA_HOME. I have also set a path. I ran as admin many times and let AS through a firewall.

I have also restarted and reinstalled countless times.

The version of AS is 2.0, and I am running the latest versions of Java.

Any help?

like image 270
Asparique Avatar asked May 27 '16 04:05

Asparique


2 Answers

  • Open file Android Studio setup directory/bin/idea.properties
  • Add disable.android.first.run=true to end
  • Restart Android Studio

PLEASE NOTE: This will break patch updating to the next version. We now check full binary checksums on the whole installation to prevent various install corruption bugs as well as to preserve application signatures. Therefore, make a copy of this file first, and before updating, put it back.

like image 84
Amit Vaghela Avatar answered Nov 02 '22 12:11

Amit Vaghela


Please try the following method to fix that issue:

  1. Find the folder of your AndroidStudio: based on the following directory

macOS: ~/Library/Application Support/Google/AndroidStudio[version]

  1. Delete the AndroidStudio folder.

  2. Restart

Ref:https://developer.android.com/studio/known-issues#studio-config-directories

like image 24
user15777317 Avatar answered Nov 02 '22 12:11

user15777317