Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio first run stuck at "Downloading Components" window

I have downloaded the latest android studio bundle from android site. Installation was successful, but when I run it for the first time, it shows a window in the screenshot with message "Downloading Android SDK Tools, revision 24.1.2" and then it hangs on infinitely. When I click on cancel and then show details, the message in attached screenshot appears. This dialog never disappears even on clicking the close button. I have to end it from process manager. I was wondering if anyone has been able to make it work. enter image description here

like image 729
rahulserver Avatar asked Mar 27 '15 10:03

rahulserver


3 Answers

its not stuck. its actually downloading some tools. if we download like this or through SDK manager.exe the speed is limited. so it will take much time. so i tried to open it without internet connection and it showed me some missing tools. (andoid sdk tool 21.1.1 ) i had 21.1.2 installed but it still showed this. so i manually downloaded it from internet ( here you will get your max download speed). and placed it with 21.1.2 installation file. and now it all works.

ps:it was the only file i missed. it won't be the same with everyone

like image 117
Vishnu Das Avatar answered Sep 29 '22 18:09

Vishnu Das


To me it has worked perfectly. You have to download all data for the sdk and can be several GB and can take a long time depending on connection and repositories

like image 36
encastellano Avatar answered Sep 29 '22 18:09

encastellano


If you got stuck earlier and left in middle of download, this may happen

Just go to

C:\Users\Username\AppData\Local\Android

and delete the SDK folder and now try again.

like image 39
stocke777 Avatar answered Sep 29 '22 20:09

stocke777