Update Eclipse with Android development tools v. 23

前端 未结 30 2765
-上瘾入骨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:13

    There is no way to update an existing ADT bundle that you might have downloaded.

    You can do one of two options:

    1. Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse

    2. Download bundles from:

      • Linux 64 bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip

      • Linux 32 bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip

      • Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip

      • Windows 32 bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip

      • Windows 64 bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip

    Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.

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

    I faced the same problem and solved it. You need to uninstall the Android plugin entirely from within Eclipse (from the "about" section..), including trace view..

    Then added the ADT Plugin again (https://dl-ssl.google.com/android/eclipse/) and install it.

    The problem is solved!

    I guess it's a bug with the SDK manager or ADT Plugin update mechanism...

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

    How to update from 22.xx.x to 23.0.2 (my solution). This will beat the dependency issues.

    I was suffering from this issue for days, and I have tried every single solution on this link, but no luck. I finally figured out a solution that actually works!

    Please note that this solution works in Windows 7 (64 bit). It should probably work for other Windows operating systems.

    Here we go:

    1. download the latest ADT bundle from

      http://developer.android.com/sdk/index.html#download

    2. unzip it and open "eclipse" folder --> "plugins" folder

    3. Now go to your old eclipse and open "eclipse" folder --> "plugins" folder, and copy everything inside.

    4. Now paste them into the "plugins" folder of the (NEW ECLIPSE), but DO NOT overwrite anything.

    5. While inside of the "plugins" folder of your new Eclipse, do the search. Type in 22. (notice 22 with a dot) and hit enter.

    6. The search result will show up all the files or folders with .....22.6...... For example,

      com.android.ide.eclipse.adt_**22.6.2**.v201403212031-1085508
      
    7. Highlight all of these files/folders and hit delete key.

    8. Make sure to update your old API/SDK to the latest version and load this sdk directory to work with your new eclipse.

    or

    You can watch this video, which shows you how to move all your SDK/API to your new SDK folder.

    Link: https://www.youtube.com/watch?v=jPZpJdnbbN0

    I have not tried to update from any other ADT versions, but I think it should work for any old ADT versions too.

    Don't forget to backup stuff before attempting.

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

    I am using Eclipse v4.3 (Kepler), and this is how I solved my problem.

    Goto menu HelpInstall new software → click Add.

    In the popup, give any name (I named it as Eclipse ADT Plugin), and in the link's place, use https://dl-ssl.google.com/android/eclipse/

    Once you click OK, you will be displayed with new packages that will be installed and old packages that will be deleted. Don't worry about these packages. Click OK.

    New packages will be installed, and this should solve your problem.

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

    Google response:

    This is a packaging bug. The entire proguard file is missing. We'll have an update asap, but until then just copy it over from a previous version of the tools:

    • 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

    So at the end if you started from a new ADT copy by hand the files :)

    Edit: with the latest ADT release, the bundle should now work with auto-update, so install these new versions:

    • linux 64 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
    • linux 32 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
    • mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
    • win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
    • win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip

    Don't try to upgrade from previous version because it doesn’t work at all. If you have got problems with zipalign, it's now under build-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.

    0 讨论(0)
  • 2020-11-22 01:16
    • Just uninstall the previous ADT.
    • Go to menu HelpAbout EclipseInstallation Details
    • Uninstall all plugins which Id start with com.android.ide
    • Install ADT again from the update site.
    0 讨论(0)
提交回复
热议问题