Update Eclipse with Android development tools v. 23

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

    If you install a new Eclipse version it will work. Here's what I did:

    1. Installed the new Eclipse version, Luna
    2. Made a backup of the current workspace.
    3. Ran the new Eclipse, Luna, and updated the workspace
    4. Installed the ADT plugin (Help -> Install New Software)
    5. Restarted Eclipse
    6. Done
    0 讨论(0)
  • 2020-11-22 01:18

    If Eclipse gives an error after uninstalling the ADT plugin from your Eclipse installation, try to edit file config.ini in the Eclipse folder → configuration. Find:

    eclipse.application=
    

    And change it to:

    eclipse.application=org.eclipse.ui.ide.workbench
    

    I hope it works for you too.

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

    None of the other answers worked for me using the ADT bundle published on developer.android.com.

    I ended up downloading the latest version of Eclipse (not the ADT bundle) and then installing the ADT plugin via menu HelpInstall new software → entering https://dl-ssl.google.com/android/eclipse (mentioned by @RED_).

    I also had to update my workspace to point to my previous workspace, and most things seemed to be restored.

    On a side note: This seems like a good time to migrate to Android Studio...

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

    DO NOT DO THIS

    Warning: Please see the comments below this answer. These steps have had a negative impact for many people.

    1. Click Help / Install new software...
    2. Click on What is "already installed" (as in picture below)
    3. In the new window you can uninstall the old ADT (uninstall Android Development Tools, Android DDMS, Android Hierarchy Viewer, Android TraceView, Android Native Development Tools and Tracer for OpenGL ES)
    4. Restart Eclipse
    5. Then again click on Help / Install New Software
    6. Choose ADT... Install

    I hope it helps!

    Picture Demonstration

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

    NOTE: Use this approach with caution because this might break your Eclipse installation (see comments).

    This might help you if you installed the ADT plugin manually. But if you are using the version of Eclipse from the Eclipse ADT Bundle the below steps could break your Eclipse installation, and you may not be able to use Eclipse again!

    Go to

    Menu HelpAbout Eclipse SDKInstallation Details.

    Now you will see all 22.0 versions and then click Uninstall button at bottom.

    After uninstallation goto:

    Menu HelpInstall New Software → enter http://dl-ssl.google.com/android/eclipse/

    Then install all the things, and now it is ready.

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

    Google has released ADT v23.0.2. This solved many problems of previous ADT version 23.

    Step-by-step:

    • Menu Help → Install New Software...
    • For "Work with", select the Android source https://dl-ssl.google.com/android/eclipse Work with Android source
    • Tick ADT v23.0 for installation, then click "Next"
    • Eclipse will show "Install Remediation Page" since there is conflict with previous version. (If it does not, see below.) Select "Update my installation to be compatible with items being installed" to uninstall the old version and install the new one. After that, proceed with the usual steps.

    Install remediation page

    Note: When I installed the new version of ADT, I didn't include the new version of "Android Native Development Tools" package. Instead, I installed the rest of packages first, and then installed "Android Native Development Tools". For a reason, if I try to install all the new packages including "Android Native Development Tools", the installation fails.

    If there is no "Remediation page", the only way to remove the ADT plugin from Eclipse is to go to menu Help → About Eclipse → Installation Details and uninstall from there. But there is a risk of uninstalling Eclipse itself.

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