How can I update my ADT in Eclipse?

后端 未结 7 1720
忘了有多久
忘了有多久 2020-11-27 02:46

I have tried to update my Eclipse. Currently I have till 2.2 Android SDK in my Eclipse. Yesterday I have updated my Eclipse like this:

Eclipse -> window -> Android S

相关标签:
7条回答
  • 2020-11-27 03:11

    I had this problem. Since I already had the ADT address I could not follow the suggested fix. The reason why the update was not working in my case is that the ADT address was not checked in the list of "Available updates".

    1) Go to eclipse > help > Install new software

    2) Click on "Available Software site"

    3) Check that you have the ADT address

    4) If not add it following the Murtuza Kabul's steps

    5) if yes check that the address is checked (checkbox on the left of the address)

    I run the update after having launched Eclipse as administrator to be sure that it was not going to have problems accessing the system folders

    0 讨论(0)
  • 2020-11-27 03:12

    You have updated the android sdk but not updated the adt to match with it.

    You can update the adt from here

    You might need to update the software source for your adt update

    Go to eclipse > help > Check for updates.

    It should list the latest update of adt. If it is not working try the same *Go to eclipse > help > Install new software * but now please do the follwing:

    • Click on add

    • Add this url : https://dl-ssl.google.com/android/eclipse/

    • Give it any name.

    It will list the updates available- which should ideally be adt 20.xx

    Eclipse will restart and hopefully everything should work fine for you.

    0 讨论(0)
  • 2020-11-27 03:16

    Reason to that is with the new update, they changed the URL for the Android Developer Tools update site to require HTTPS. If you are updating ADT, make sure you use HTTPS in the URL for the Android Developer Tools update site.

    0 讨论(0)
  • 2020-11-27 03:19

    I had the same problem where there's no files under Generated Java files, BuildConfig and R.java were missing. The automatic build option is not generating.
    In Eclipse under Project, uncheck Build Automatically. Then under Project select Build Project. You may need to fix the projec

    0 讨论(0)
  • 2020-11-27 03:23

    Running as administrator then following other comments fixed the problem for me :)

    0 讨论(0)
  • 2020-11-27 03:26

    I viewed the Eclipse ADT documentation and found out the way to get around this issue. I was able to Update My SDK Tool to 22.0.4 (Latest Version).

    Solution is: First Update ADT to 22.0.4 and then Update SDK Tool to 22.0.4

    The above link says,

    ADT 22.0.4 is designed for use with SDK Tools r22.0.4. If you haven't already installed SDK Tools r22.0.4 into your SDK, use the Android SDK Manager to do so

    What I had to do was update my ADT to 22.0.4 (Latest Version) and then I was able to update SDK tool to 22.0.4. I thought only SDK Tool has been updated not ADT, so I was updating the SDK Tool with Older ADT Version (22.0.1).

    How to Update your ADT to Latest Version

    1. In Eclipse go to Help

    2. Install New Software ---> Add

    3. inside Add Repository write the Name: ADT (or whatever you want)

    4. Location: https://dl-ssl.google.com/android/eclipse/

    5. after loading you should get Developer Tools and NDK Plugins

    6. check both if you want to use the Native Developer Kit (NDK) in the future or check

    7. Developer Tool only

    8. click Next

    9. Finish

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