Update Eclipse with Android development tools v. 23

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

    There is a lot of confusion going around in this thread. There are two solutions depending on how you installed ADT.

    1. If you installed the ADT plugin manually then I believe you can use the "Delete ADT" -> "Install New Software" approach.

    2. If you are using the ADT Bundle then do not follow that solution! You will break Eclipse. Here is an update from a Google member - read #18:

      https://code.google.com/p/android/issues/detail?id=72912

    You must download a new version of the ADT-Bundle (yep, it's frustrating!).

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

    is what they are saying about this:

    OK, guys, sorry about all this trouble, and we apologize for the messed up releases. Here's the summary:

    • 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 here:

        • 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.

    Source: https://code.google.com/p/android/issues/detail?id=72912

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

    I was getting the same "conflicting dependency" error on Mac OS X 10.9.3 and simply upgrading was not an option. What finally worked was downloading the latest Eclipse ADT bundle zip file from developer.android.com, extracting it and moving only "eclipse" folder to the place where my old eclipse folder was. (extracting the Eclipse ADT bundle zip file will give you "eclipse" and "sdk" folders).

    If you decide to go the same route, first make sure you know what your Workspace path is. This can be found in Preferences. Then rename your old "eclipse" directory (not Eclipse.app) to something like eclipse-22.6.3, then move extracted "eclipse" folder into its place. Run new Eclipse.app inside, and when it asks you about Workspace, just enter the same path as you noted above. Or it can also be set later in Preferences.

    Maybe worth adding is that to re-enable Android SDK Manager and Android Virtual Device Manager choose Window -> Customize Perspective -> Command Groups Availability and select Android SDK and AVD Manager. This will add these 2 items to the "Window" menu item for the current perspective (Java).

    I didn't move the extracted "sdk" folder, because I already had sdk folder in the same directory as eclipse, which I have already updated to the latest Android tools. But if it makes you feel safer, you can also rename your old sdk folder (for backup purposes) and move the freshly extracted one into its place.

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

    I had to delete ADT and install it again.

    However be warned, this caused me and one other person to have an annotations.jar missing errors in the Java Build path for certain projects, probably because it was trying to look for an old SDK, so upgrading projects is the next step I have to take.

    The errors relate to libraries mostly, Google Play Services, Facebook SDK, ActionBarCompat.

    For this step, you uninstall ADT, then put the URL back in to download them. The url is: https://dl-ssl.google.com/android/eclipse

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

    I found a solution for the problem with "conflicting dependency". I don't have the same page of Daniel Díaz's response, but a page show "conflicting dependency", and I can't make anything.

    The problem is that I'm not the owner of the file. Eclipse was installed in other session (on OS X). I have the right to read and write the Eclipse file, but I'm not the owner. Make a "chown" command on all Eclipse files to solve the problem. After, I have the same result as Daniel Diaz.

    I hope this helps someone.

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

    You need to uninstall the old version and install 23

    uninstall: Help > about Eclipse SDK > Installation Details select Android related packages to uninstall

    And then install V23.

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