Update Eclipse with Android development tools v. 23

前端 未结 30 2697
-上瘾入骨i
-上瘾入骨i 2020-11-22 00:35

I updated Eclipse with the new SDK tools (rev. 23), but now when Eclipse starts I receive the error:

This Android SDK requires Android Developer Toolk

相关标签:
30条回答
  • 2020-11-22 01:00

    I was updating my build server today and came across the same issue. It has been reported here: https://code.google.com/p/android/issues/detail?id=72419

    The fix is in progress and the work around according to the project manager is:

    Please wait for an updated version within a day or two. Until then, your workaround is to do download one of

    http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz

    http://dl.google.com/android/android-sdk_r22.6.2-windows.zip

    http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip

    and copy over the following files:

        tools/hprof-conv
        tools/support/annotations.jar
        tools/proguard
    

    [edit] zipalign was missing for me too, check to see if you need to copy this as well

    0 讨论(0)
  • 2020-11-22 01:06

    Only helped:

    1. Fresh Eclipse installation (http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/lunar)
    2. Help --> Install New Software --> https://dl-ssl.google.com/android/eclipse/
    0 讨论(0)
  • 2020-11-22 01:06

    I found these instructions in a comment.

    Download the newest version of ADT and use your existing workspace. This is actually the least pain-full upgrade you'll ever do. It didn't mess with the .android folder so I still had my original debug key. Only things missing were a couple of add ons I hardly ever use and they are easily installed into the new version.

    Note don't install into your existing adt folder create a new folder so you can still fall back if the new install doesn't work.

    0 讨论(0)
  • 2020-11-22 01:08

    I simply went to my Android resources folder on my C:/ drive (C:/Android), deleted the 'eclipse' folder and all its contents. I downloaded Android Developer Tools once more and just moved over the 'eclipse' folder.

    I started up and everything was fine; I had updated to version 23.

    Hopefully this helps, possibly not suitable for everyone as some of you have Eclipse modifications but for someone who, like me, wanted a quick fix and get back to developing this seemed to be the easiest path.

    0 讨论(0)
  • 2020-11-22 01:12

    After trying the approaches in other answers without success, I just installed a new bundle from http://developer.android.com/sdk/installing/index.html?pkg=adt and that worked fine.

    Do the following:

    1. As you don't want to re-download all the platforms again, copy the existing one from /OLD_ANDROID_SDK_PATH/sdk/platforms to /NEW_ANDROID_SDK_PATH/sdk/platforms.
    2. When opening the new Eclipse from the recent downloaded bundle, make sure you reuse the previous 'workspace' folder. That will ensure that all your previous settings will be remembered.
    3. After opening the new Eclipse on the previous workspace, please check if the used Android SDK is pointing to the new one (Eclipse preferences -> Android). It might be pointing to the old one, as you've reused the previews workspace settings.

    With these steps, you should't have to reconfigure everything, and you won't need to spend time troubleshooting this BUG on this upgrade from Google Developers.

    Good luck! ;-)

    0 讨论(0)
  • 2020-11-22 01:12

    What I have just found is that you need to update your ADT plugin in your Eclipse (whether stand alone or ADT Bundle) before updating your build tool.

    If your Eclipse installation points to the most recent Build Tool and your Eclipse is having ADT 22.x, it will show those errors.

    What worked for me: (on Ubuntu 14.04 64-bit)

    • Installed an older version of Eclipse and ADT (from the Bundle)
    • This copy of Eclipse was pointing to an older SDK verion with old build tools (before 20)
    • Updated the ADT to v23 (via archive, in my case)
    • Pointed Eclipse to the latest version of build tools.

    You may not have an older copy of Eclipse and Build tools, in that case you can uninstall latest build tool from SDK Manager and install the older copy.
    Once everything starts working fine, do the above steps.

    I am trying to upload older copies of such bundles somewhere on the Internet, will update the links here, once I am done uploading.

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