An error occurred while collecting items to be installed

后端 未结 6 737
余生分开走
余生分开走 2021-02-02 01:33

When I tried to update my Android SDK, I got the following errors. What should I do?

An error occurred while collecting items to be installed
session context was         


        
相关标签:
6条回答
  • 2021-02-02 01:33

    If you are still unable to use Eclipse to download the ADT plugin as a remote update site, you can download the ADT zip file to your local machine and manually install it:

    http://dl.google.com/android/ADT-22.6.0.zip
    1 .Download the ADT Plugin zip file (do not unpack it):
    2. Start Eclipse, then select Help > Install New Software.
    3. Click Add, in the top-right corner.
    4. In the Add Repository dialog, click Archive.
    5. Select the downloaded ADT-22.6.0.zip file and click OK.
    6. Enter "ADT Plugin" for the name and click OK.
    7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
    8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
    9. Read and accept the license agreements, then click Finish.
    10. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.

    When the installation completes, restart Eclipse.

    0 讨论(0)
  • 2021-02-02 01:34

    Agree with the above.

    In fact you can get this from the official websites: http://developer.android.com/sdk/installing/installing-adt.html

    In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/

    0 讨论(0)
  • 2021-02-02 01:38

    In my case, I had already been using http for a few years (after https wouldn't work) so changing back to https solved it for me.

    0 讨论(0)
  • 2021-02-02 01:42

    I just had this issue... and I went back into Window->Preferences->Install/Update and for the setting of the update site for android/eclipse I changed it back from http to https.

    Previously I had errors updating the IDE and believed I had changed this to http because other postings had suggested that... and that previously fixed my update issue.

    Now with the latest Android / Eclipse IDE code... it appears the https is working and needed.

    0 讨论(0)
  • 2021-02-02 01:48

    For me, this was solved this applying the fix that frogman suggests here.

    The answer:

    Uncheck “Contact all update sites during install to find required software”

    The checkbox mentioned there is in the dialog that shows up when you hit "Install new software".

    Found this answer through espinchi's answer here.

    0 讨论(0)
  • 2021-02-02 01:49

    Try 1)changing "https:" to "http:" or vise versa 2)Uncheck “Contact all update sites during install to find required software”

    If both the solutions don't work then manually update the ADT :: 1) Uninstall ADT using the link 2) Reinstall the ADT by Help -> Install New Software

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