我如何设置的Andr​​oid(ADT-插件)为Eclipse? [英] How do I set up Android (ADT-Plugin) for Eclipse?

查看:211
本文介绍了我如何设置的Andr​​oid(ADT-插件)为Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设置Eclipse的Andr​​oid和尝试安装ADT插件的时候,我遇到以下错误:

编辑:注意这里的更完整的错误信息

  

无法完成安装,因为一个或多个必需项目无法找到。     软件安装:Android开发工具0.9.9.v201009221407-60953(com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)     缺少要求:Android开发工具0.9.9.v201009221407-60953(com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)要求org.eclipse.wst.sse.core 0.0.0但它无法找到

我在Win7的X64和使用Eclipse 3.5。

可能是什么问题?

编辑:

难道我没有正确设置我的路径?这是相关的部分是什么样子。

  

路径...; C:\ Users \用户卡察夫\开发\ Android的SDK-WINDOWS \工具

我是否需要修改的路径后重新启动?

编辑:

我要寻找安装这个软件包:

  

org.eclipse.wst.sse.core 0.0.0

解决方案

你通过这个去的安装ADT插件

  1. 启动Eclipse,然后选择Help> 安装新软件。

  2. 在可用软件对话框中, 单击添加.... 1。

  3. 在弹出的添加站点对话框, 远程站点输入一个名称 (例如,机器人插件)中 名称field.2。

  4. 在位置字段中输入该 网址: https://dl-ssl.google.com/android/eclipse/

  5. 请注意:如果您无法获得 该插件,您可以尝试使用HTTP 在URL中,而不是https开头,(HTTPS 为preferred出于安全原因)。4。

  6. 点击确定。

  7. 早在可用软件视图, 你现在应该看到开发工具 加入list.6。

  8. 选择了旁边的复选框 开发工具,这将 自动选择嵌套 工具的Andr​​oid DDMS和Android 发展Tools.7。

  9. 点击Next.8。

  10. 在生成的安装细节  对话框,在Android DDMS和  Android开发工具的功能  是listed.9。

  11. 点击下一步阅读并接受  许可协议并安装任何  相关性,然后单击完成。  重新启动Eclipse.10。

此问题是因为你有一些插件缺少所需的机器人工具。你可以,或者通过跟踪自己的插件以任何解决这个安装Eclipse版本中附带了大量的Eclipse插件的。

要做到这一点,运行Eclipse,然后转到帮助 - >安装新软件。尝试安装Android SDK,你将被告知缺什么,例如:

* 缺少要求:Android开发工具0.9.6.v201002051504-24846(com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846)要求* 组织.eclipse.gef 0.0.0,但未能找到。

因此​​,我们需要安装org.eclipse.gef。快速谷歌为org.eclipse.gef,给了我们www.eclipse.org/gef 按照链接,并在左手边你会看到一个链接更新管理器,按照链接...

您再有URI的一个类似的Andr​​oid插件的列表。复制一个在版本结尾( http://download.eclipse.org/tool​​s /全球环境基金/更新/新闻稿/ ,如果​​你不能打扰),并返回到月食。该粘贴到URI中的一起工作,因为你做的是Android插件,并安装上来的组件。

继续做,直到所有的Andr​​oid依赖关系得到满足,而Android插件将安装。你需要找到正确的位置为每个需要的依赖。

I'm setting up Eclipse for Android and when attempting to install the ADT plugin, I encounter the following error:

Edit: Notice the more complete error message here.

Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) Missing requirement: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

I'm on Win7 x64 and using Eclipse 3.5.

What could be wrong?

EDIT:

Did I not set my Path correctly? This is what the relevant part looks like.

Path...;C:\Users\Moshe\Development\android-sdk-windows\tools

Do I need to reboot after modifying the path?

EDIT:

I am looking to install this package:

org.eclipse.wst.sse.core 0.0.0

解决方案

Did you go through this Installing the ADT Plugin?

  1. Start Eclipse, then select Help > Install New Software.

  2. In the Available Software dialog, click Add....1.

  3. In the Add Site dialog that appears, enter a name for the remote site (for example, "Android Plugin") in the "Name" field.2.

  4. In the "Location" field, enter this URL: https://dl-ssl.google.com/android/eclipse/

  5. Note: If you have trouble acquiring the plugin, you can try using "http" in the URL, instead of "https" (https is preferred for security reasons).4.

  6. Click OK.

  7. Back in the Available Software view, you should now see "Developer Tools" added to the list.6.

  8. Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools.7.

  9. Click Next.8.

  10. In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed.9.

  11. Click Next to read and accept the license agreement and install any dependencies, then click Finish. Restart Eclipse.10.

This problem is caused because you have some plugins missing that are required by android tools. You can fix this by either installing a version of Eclipse which comes bundled with a lot of the eclipse plugins, or by tracking down the plugins yourself.

To do this, run eclipse, and go to Help->Install New software. Attempt to install the Android SDk, and you will be informed of what is missing, e.g:

*Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires *'org.eclipse.gef 0.0.0' but it could not be found

So we need to install org.eclipse.gef . A quick Google for org.eclipse.gef, gives us www.eclipse.org/gef Follow the link, and on the left hand side you will see a link for "Update Manger", follow that link...

You then have a list of URI's similar to the one for the Android plugin. Copy the one ending in "releases"( http://download.eclipse.org/tools/gef/updates/releases/ if you can't be bothered ), and go back to eclipse. Paste this URI into the "Work with" box, as you did with the Android plugin, and install the components that come up.

Continue to do this until all of the Android dependencies are met, and the Android plugin will install. You will need to locate the correct locations for each of the required dependencies.

这篇关于我如何设置的Andr​​oid(ADT-插件)为Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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