eclipse中Android Development Tool 23.0.0和Android L Update错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24445894/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 08:10:09  来源:igfitidea点击:

Android Development Tool 23.0.0 and Android L Update error in eclipse

androideclipseadtandroid-sdk-2.3android-5.0-lollipop

提问by Himanshu Agarwal

I updated my SDK with latest release of Android Land restarted my eclipse i.e running on ADT V.22. But when I Check for update from Hep -> Check for updates, it says No updates were found.

我用最新版本更新了我的 SDKAndroid L并重新启动了我的 Eclipse,即在ADT V.22. 但是当我从 中检查更新时 Hep -> Check for updates,它说No updates were found

I manually tried to download ADT bundle from official websiteand tried to install ADT-23.0.0.zipfrom Help -> Install New Softwareand described installation guide over site, but it gave me error

我手动试图从官方下载ADT捆绑网站,并试图安装ADT-23.0.0.zipHelp -> Install New Software和网站上描述的安装指导,但它给了我错误

 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: Google App Engine Tools for Android 3.5.1.v201312301719-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group 3.5.1.v201312301719-rel-r42)
  Only one of the following can be installed at once: 
    ADT XML Overlay 22.6.3.v201404151837-1123206 (overlay.com.android.ide.eclipse.adt.overlay 22.6.3.v201404151837-1123206)
    ADT XML Overlay 23.0.0.1245622 (overlay.com.android.ide.eclipse.adt.overlay 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: overlay.com.android.ide.eclipse.adt.overlay [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: overlay.com.android.ide.eclipse.adt.overlay [22.6.3.v201404151837-1123206]
  Cannot satisfy dependency:
    From: Google App Engine Tools for Android 3.5.1.v201312301719-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group 3.5.1.v201312301719-rel-r42)
    To: com.android.ide.eclipse.adt.feature.group 22.0.0

And it also giving me error while I compile my exiting project that were running perfectly before update. Error is:

当我编译在更新之前完美运行的现有项目时,它也会给我错误。错误是:

[2014-06-27 12:03:01 - my App] The connection to adb is down, and a severe error has occured.
[2014-06-27 12:03:01 -my App] You must restart adb and Eclipse.
[2014-06-27 12:03:01 - my App] Please ensure that adb is correctly located at 'E:\Android-sdk\adt-bundle-windows-x86_64-20130522\sdk\platform-tools\adb.exe' and can be executed.

I tired various solution provided earlier for killing adb server and restarting again using adb kill-servercommand.

我厌倦了之前提供的各种解决方案,用于杀死 adb 服务器并使用adb kill-server命令再次重新启动。

Can anyone resolve or guide me how to build and compile my existing projects with this new SDK update in eclipse.

任何人都可以解决或指导我如何使用 eclipse 中的这个新 SDK 更新构建和编译我现有的项目。

回答by Tal Kanel

I had the same problem and just solved it. what I did is uninstall entirely the android plugin from eclipse(from the "about" section..) including trace view..

我有同样的问题,刚刚解决了它。我所做的是从 Eclipse(从“关于”部分..)完全卸载 android 插件,包括跟踪视图..

Do notrestart eclipse at this point!

千万不能在此时重新启动Eclipse!

then added again the ADT Plugin (https://dl-ssl.google.com/android/eclipse/)

然后再次添加 ADT 插件(https://dl-ssl.google.com/android/eclipse/

the problem solved!

问题解决了!

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

我猜这是 SDK 管理器或 ADT 插件更新机制的错误..

回答by Arsalan Mehmood

It saves my day...!

它拯救了我的一天......!

If for some reason you installed an ADT preview and need to revert backto the current stable, you can't use the dialog to install "new" software since what you want is actually an older one. Instead do this:

如果由于某种原因您安装了 ADT 预览版并需要恢复到当前的稳定版,则无法使用该对话框安装“新”软件,因为您实际上需要的是较旧的软件。而是这样做:

  • Open Help > About Eclipse... on Windows or Linux. On Mac, use the app's menu > About...
  • Click the "Installation Details" button.
  • Select the "Installation History" tab.
  • Select one of the previous configurations.
  • Click the "Revert" button at the bottom.
  • 在 Windows 或 Linux 上打开帮助 > 关于 Eclipse...。在 Mac 上,使用应用程序的菜单 > 关于...
  • 单击“安装详细信息”按钮。
  • 选择“安装历史记录”选项卡。
  • 选择之前的配置之一。
  • 单击底部的“还原”按钮。

enter image description here

在此处输入图片说明

回答by superlinux

I am depending on this article How to install plugin for Eclipse from .zipand I made it sorta work. still needs some fix from me. I'll update soon.

我依赖这篇文章 How to install plugin for Eclipse from .zip,我让它有点工作。仍然需要我的一些修复。我会尽快更新。

This is based on the idea of opening the ADT plugin zip file and copy it's contents by hand , an old fashioned copy-paste method. I still could not yet make it well configured, but the tools do work.

这是基于打开 ADT 插件 zip 文件并手动复制其内容的想法,这是一种老式的复制粘贴方法。我仍然不能很好地配置它,但这些工具确实有效。

Don't forget to uninstall older ADT before doing this.

在执行此操作之前不要忘记卸载旧的 ADT。

回答by ?ernando Valle

I had the same problem, finally I had to download a new ADT from http://developer.android.com/sdk/index.htmlis faster than trying to fight vs dependencies or adt versions.

我遇到了同样的问题,最后我不得不从http://developer.android.com/sdk/index.html下载一个新的 ADT,这比尝试对抗依赖项或 adt 版本要快。