Android studio first run stuck at “Downloading Components” window

前端 未结 7 1722
有刺的猬
有刺的猬 2021-01-12 01:47

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

相关标签:
7条回答
  • 2021-01-12 02:09

    Components of the SDK are continuously released and Android Studio's updates aren't very frequent. You can update the components manually with SDK Manager.

    1. Go to C:\Users\Username\AppData\Local\Android\sdk
    2. Open SDK Manager.exe
    3. Update the packages.
    4. Start Android Studio.
    0 讨论(0)
  • 2021-01-12 02:15

    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

    0 讨论(0)
  • 2021-01-12 02:16

    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

    0 讨论(0)
  • 2021-01-12 02:18

    To disable "Downloading Components" at startup,

    • Go to the installation directory of Android Studio.
    • There you will find a folder named "bin".
    • Inside this folder there is a file named "idea.properties".
    • Open this file and add the following line to the end of the file:

      disable.android.first.run=true

    What this will do is disable the check that Android Studio performs on first run and decides to download all that stuff.

    If it asks to save the file at some different place instead of overwriting the original one, please check the access permissions to the file.

    0 讨论(0)
  • 2021-01-12 02:19

    it is a reported bug and I am facing it too in version 1.2.0 see this enter image description here

    0 讨论(0)
  • 2021-01-12 02:20

    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.

    0 讨论(0)
提交回复
热议问题