简体   繁体   English

安装ADT versoin 22.0.5时发生未知错误

[英]an unknown error while installing ADT versoin 22.0.5

I DO need your help.I followed this steps for installing ADT 22.0.5 . 需要你的help.I遵循这个步骤安装ADT 22.0.5。 this step is declared in developer.android.google.com for installing ADT: 在developer.android.google.com中声明此步骤以安装ADT:

1.Download the ADT Plugin zip file (do not unpack it) 1.下载ADT插件zip文件(不要解压缩)

2.Start Eclipse, then select Help > Install New Software. 2.启动Eclipse,然后选择“帮助”>“安装新软件”。

3.Click Add, in the top-right corner. 3.单击右上角的添加。

4.In the Add Repository dialog, click Archive. 4.在“添加存储库”对话框中,单击“存档”。

5.Select the downloaded ADT-22.0.5.zip file and click OK. 5.选择下载的ADT-22.0.5.zip文件,然后单击确定。

6.Enter "ADT Plugin" for the name and click OK. 6.输入“ ADT插件”作为名称,然后单击“确定”。

7.In the Available Software dialog, select the checkbox next to Developer Tools and click Next. 7.在“可用软件”对话框中,选中“开发人员工具”旁边的复选框,然后单击“下一步”。

8.In the next window, you'll see a list of the tools to be downloaded. 8.在下一个窗口中,您将看到要下载的工具的列表。 Click Next. 点击下一步。

9.Read and accept the license agreements, then click Finish. 9.阅读并接受许可协议,然后单击“完成”。

10.If you get a security warning saying that the authenticity or validity of the software can't be established, click OK. 10.如果收到安全警告,提示无法确定软件的真实性或有效性,请单击“确定”。

When the installation completes, restart Eclipse. 安装完成后,重新启动Eclipse。

BUT after step 2, I had this error : 但是在第2步之后,我遇到了这个错误:

An error occurred while installing the items session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=[R]com.android.ide.eclipse.ddms 21.1.0.2013-2-6-0-46 --> [R]com.android.ide.eclipse.ddms 22.0.5.v201307292155--757759, action=). 安装项目会话上下文时发生错误:(profile = profile,phase = org.eclipse.equinox.internal.p2.engine.phases.Install,opernd = [R] com.android.ide.eclipse.ddms 21.1。 0.2013-2-6-0-46-> [R] com.android.ide.eclipse.ddms 22.0.5.v201307292155--757759,action =)。 Failed to prepare partial IU: [R]com.android.ide.eclipse.ddms 22.0.5.v201307292155--757759. 无法准备部分IU:[R] com.android.ide.eclipse.ddms 22.0.5.v201307292155--757759。

* Please help me ! * 请帮助我! I searched a lot but I couldn't find anything about this error ! 我进行了很多搜索,但找不到关于此错误的任何信息! * *

This is due to lower version of the Eclipse. 这是由于Eclipse的版本较低。

In Eclipse Help -> Install New Software 在Eclipse帮助->安装新软件中

Add this Url https://dl-ssl.google.com/android/eclipse/ 添加此网址https://dl-ssl.google.com/android/eclipse/

For more details Follow http://developer.android.com/sdk/installing/installing-adt.html 有关更多详细信息,请遵循http://developer.android.com/sdk/installing/installing-adt.html

I had this error and was not able to overcome it without downloading ADT again and installing/extracting it again. 我遇到了此错误,并且没有重新下载ADT并再次安装/提取它就无法克服它。 I think that will be the fastest coarse of action for anyone experiencing this. 我认为这对于任何遇到这种情况的人来说都是最快的行动。 Fortunately, the new ADT has the updates already applied. 幸运的是,新的ADT已应用了更新。

In my case, I extracted ADT on top of my existing install. 就我而言,我在现有安装之上提取了ADT。 This kept my existing non-standard extensions in place, which was nice. 这样可以保留我现有的非标准扩展,这很好。 There could be adverse side effects to doing this though. 但是这样做可能会有不利的副作用。 So, I would only recommend it if you are prepared to identify and deal with any oddities that come up. 因此,我只建议您准备识别并处理可能出现的任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM