即使尝试在谷歌上找到的所有内容,也无法将eclipse ADT更新为23.0.3

时间:2014-09-20 09:30:57

标签: java android eclipse eclipse-plugin adt

我第一次使用eclipse。我复制了一个adt-bundle,一切正常,直到我连接到互联网。然后每当我打开eclipse就会说

此Android SDK需要Android Developer Toolkit 23.0.0或更高版本。当前版本为22.6.2.v201403212031-1085508。请将ADT更新到最新版本。

我尝试通过帮助>安装新软件来更新

并使用了两个选项

1.archive(通过下载插件)和

2.与'https://dl-ssl.google.com/android/eclipse/'

的工作

但最终得到同样的错误

Cannot complete the install because of a conflicting dependency.
  Software being installed: Android Development Tools 23.0.3.1327240 (com.android.ide.eclipse.adt.feature.feature.group 23.0.3.1327240)
  Software currently installed: Android Developer Tools 22.0.5.v201307292155--757759 (com.android.ide.eclipse.adt.package.product 22.0.5.v201307292155--757759)
  Only one of the following can be installed at once: 
    ADT XML Overlay 23.0.3.1327240 (overlay.com.android.ide.eclipse.adt.overlay 23.0.3.1327240)
    ADT XML Overlay 22.6.2.v201403212031-1085508 (overlay.com.android.ide.eclipse.adt.overlay 22.6.2.v201403212031-1085508)
  Cannot satisfy dependency:
    From: Android Development Tools 23.0.3.1327240 (com.android.ide.eclipse.adt.feature.feature.group 23.0.3.1327240)
    To: overlay.com.android.ide.eclipse.adt.overlay [23.0.3.1327240]
  Cannot satisfy dependency:
    From: Android Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.feature.group 22.6.2.v201403212031-1085508)
    To: overlay.com.android.ide.eclipse.adt.overlay [22.6.2.v201403212031-1085508]
  Cannot satisfy dependency:
    From: ADT Package 22.0.5.v201307292155--757759 (com.android.ide.eclipse.adt.package.feature.group 22.0.5.v201307292155--757759)
    To: com.android.ide.eclipse.adt.feature.group 22.0.5
  Cannot satisfy dependency:
    From: Android Developer Tools 22.0.5.v201307292155--757759 (com.android.ide.eclipse.adt.package.product 22.0.5.v201307292155--757759)
    To: com.android.ide.eclipse.adt.package.feature.group [22.0.5.v201307292155--757759]

我尝试了所有方法,例如卸载当前的adt然后安装,一次安装一个,从tools / proguard复制文件等。没有任何效果。有人可以帮帮我吗?

2 个答案:

答案 0 :(得分:0)

这件事发生在我身上......当你更新eclipse ADT时会发生这种情况。除了将eclipse ADT .Switch的新副本下载到Android工作室之外,没有什么可以解决的。它可以更频繁地获得更新,并且使用它进行编码很容易。 Android工作室仍然落后于日食ADT,但谷歌正在更快地更新它以改变它。

答案 1 :(得分:0)

删除adt文件夹并安装eclipse,如下所示

更新eclipse的步骤

 1. Download eclipse from the official site
 2. Download and install jdk latest version
 3. After installing the eclipse , Go to  Help > Install New Software.
 4. Click Add, in the top-right corner.
 5. In the Add Repository dialog that appears, enter "ADT Plugin" for the     
        Name and the following URL for the Location:
        https://dl-ssl.google.com/android/eclipse/
 6. Click OK.
 7. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
 8. In the next window, you'll see a list of the tools to be downloaded. Click Next.
 9.Read and accept the license agreements, then click Finish.
 10. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
 11. When the installation completes, restart Eclipse.