8

I searched all day but haven't find a solution yet.

Today I installed Android Studio without any problems. I added the correct path.

JAVA_HOME to C:\Program Files\Java\jdk1.8.0_20

and

JDK_HOME  to C:\Program Files\Java\jdk1.8.0_20

But, when I start the program it freezes on the loading screen. (The gray picture with the green android logo and text Android Studio) It does create a process that I can't close, but after waiting for 20 minutes it's still on that screen.

I tried a clean install, also I tried the 32bit version without any success because it complained about the jvm that I could not fix for some reason. I also did an update for it, but without success.

I have no idea what else I can try to fix this, but I also don't see myself going back to eclipse.

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
Black Lotus
  • 2,377
  • 3
  • 14
  • 18

8 Answers8

30

What worked for me was to disconnect my android phone which was connected to the computer(in the debugging mode).

Sid
  • 1,270
  • 2
  • 15
  • 30
  • My computer was shut down by a power cut overnight whilst in suspend mode. When I rebooted the next day Android Studio would not load as per the OP description. This suggestion appeared to fix the hang at startup issue I was experiencing, though the circumstances are somewhat different. As with people above I find this a very odd bug... – BasicPleasureModel Jul 08 '17 at 11:08
10

I went from 1.5 to 2.0 and after updating it wouldn't load (hung at the startup screen). I had to delete the .android folder, the android.15 folder and the .AndroidStudioPreview2.0 folder under user. I also had to rename the SDK folder and after it started up I rename it back to what it was. Which means I had to add the path back to android studio. This was the only way I got it to work.

Boxlady
  • 113
  • 1
  • 6
  • I've done all of those, but no avail. *then* I restarted my Mac after doing those and then it worked. a restart was necessary in my case, dunno why. – Can Poyrazoğlu Mar 26 '16 at 11:57
2

The same issue. "Run as administrator" helped me.

Sergey Maruda
  • 193
  • 1
  • 6
2

Another possible solution comes from JLund (from the comments):

I did this from the command line:

adb kill-server
adb start-server

and that unfroze Android Studio at startup for me.

Community
  • 1
  • 1
Artjom B.
  • 61,146
  • 24
  • 125
  • 222
1

Make sure there is no ANDROID_SDK_HOME, ANDROID_HOME or the like defined as you environment variable. You might need to uninstall any Android SDK previously installed manually after removing those environment variable.

onelaview
  • 1,121
  • 15
  • 17
0

My Android Studio auto loads the last worked-on project. I cancelled the loading project before the IDE hung. The Android Studio launcher comes up. Select the "Open an existing..." option.


Windows 10
Java 1.8.0_131
Android Studio 3.2.1

Richard Jessop
  • 897
  • 1
  • 12
  • 19
0

Android Studio kept getting hung up on a white screen before the IDE loaded any buttons. I renamed the project that it was trying to load, restarted Android Studio, and selected another project and it loaded correctly.

Chris Sprague
  • 3,158
  • 33
  • 24
-1

I had to revamp all manually installed 'HOME' environments and start it again-