使用 Android 开发工具 v. 23 更新 Eclipse [英] Update Eclipse with Android development tools v. 23

查看:23
本文介绍了使用 Android 开发工具 v. 23 更新 Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用新的 SDK 工具(修订版 23)更新了 Eclipse,但是现在当 Eclipse 启动时我收到错误:

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

此 Android SDK 需要 Android Developer Toolkit 23.0.0 或更高版本.当前版本为 22.6.3.v201404151837-1123206.请将 ADT 更新到最新版本.

This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.3.v201404151837-1123206. Please update ADT to the latest version.

未通过检查更新"找到更新.如果我尝试安装新软件",我可以看到版本 23,但由于以下错误而无法升级:

No updates were found with "Check for updates". If I try "Install new software", I can see version 23, but I can't upgrade due to the following error:

Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
Software currently installed: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
Only one of the following can be installed at once: 
    ADT Package 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.package 22.6.3.v201404151837-1123206)
    ADT Package 23.0.0.1245622 (com.android.ide.eclipse.adt.package 23.0.0.1245622)
Cannot satisfy dependency:
    From: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
    To: com.android.ide.eclipse.adt.package [23.0.0.1245622]
Cannot satisfy dependency:
    From: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
    To: com.android.ide.eclipse.adt.package [22.6.3.v201404151837-1123206]
Cannot satisfy dependency:
    From: ADT Package 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.feature.group 22.2.1.v201309180102-833290)
    To: com.android.ide.eclipse.adt.feature.group 22.2.0
Cannot satisfy dependency:
    From: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
    To: com.android.ide.eclipse.adt.package.feature.group [22.2.1.v201309180102-833290]

从网站上下载了最后一个ADT后,似乎又有问题了.

After download of the last ADT from the web site, it seems there's another problem.

使用 SDK 工具版本.23 proguard未安装,SDK文件夹dir/tools/proguard缺失,其他工具缺失.此版本包含几个错误.

With SDK Tools rev. 23 proguard is not installed, the folder SDK dir/tools/proguard is missing, and other tools are missing. This version contains several bugs.

推荐答案

谷歌回复:

这是一个打包错误.整个 proguard 文件丢失.我们将尽快进行更新,但在那之前,只需从工具的先前版本复制过来即可:

并复制以下文件:

  • 工具/hprof-conv
  • tools/support/annotations.jar
  • 工具/proguard

所以最后如果你从一个新的 ADT 手动复制文件开始:)

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

使用最新的 ADT 版本,捆绑包现在应该可以自动更新,因此安装这些新版本:

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

不要尝试从以前的版本升级,因为它根本不起作用.如果您在使用 zipalign 时遇到问题,它现在位于 build-tools 下,而不再位于 tools/下,因此您可以执行符号链接或将其复制到预期的文件夹中.

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.

这篇关于使用 Android 开发工具 v. 23 更新 Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆