简体   繁体   English

在Eclipse中安装ADT插件以进行Android开发

[英]Installing ADT plugin in Eclipse for Android development

when I tried to install the ADT to eclipse (indigo) the following error came up: 当我尝试将ADT安装到eclipse(indigo)时出现以下错误:

Cannot complete the install because one or more required items could not be found.
Software currently installed: Shared profile 1.0.0.1316138547364 (SharedProfile_epp.package.java 1.0.0.1316138547364)
Missing requirement: Shared profile 1.0.0.1316138547364 (SharedProfile_epp.package.java 1.0.0.1316138547364) requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be found

What does this mean? 这是什么意思? How can I fix this? 我怎样才能解决这个问题?

I have the 64 bit versions of eclipse and jdk, and I tried to install the ADT through the Eclipse Marketplace, same error came up... and I tried to install the eclipse classic... an error came up that said it couldn't find the shared libraries... 我有64位版本的eclipse和jdk,我试图通过Eclipse Marketplace安装ADT,同样的错误出现了...我试图安装eclipse经典......出现了一个错误,说它无法'找到共享库......

您似乎必须以管理员身份运行Eclipse

It's an Eclipse bug, see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=350645 这是一个Eclipse bug,请参阅: https//bugs.eclipse.org/bugs/show_bug.cgi?id = 350645

You shouldn't need to be administrator to install additional plugins... 你不应该是管理员来安装额外的插件......

  1. Remove the ADT repo (Window->Preferences->Install/Updates->Available Software Sites) 删除ADT仓库(窗口 - >首选项 - >安装/更新 - >可用软件站点)
  2. Add Indigo repo (" http://download.eclipse.org/releases/indigo ") 添加Indigo repo(“ http://download.eclipse.org/releases/indigo ”)
  3. Run updates 运行更新
  4. Add ADT repo again and install 再次添加ADT仓库并安装

I had this problem and it was driving me nuts!!! 我有这个问题,这让我疯了! Tries everything listed on here but nothing and couple of other ideas from other sites. 尝试在这里列出的所有内容,但没有任何其他网站的其他想法。 Finally figured out since I was on $%# &^$% VISTA that I had to move my Eclipse folder out of c:\\program files to users. 终于弄明白,因为我在$%#&^ $%VISTA上,我不得不将我的Eclipse文件夹从c:\\ program files移出给用户。 That fixed it. 修好了。 Thanks to all who had ideas as I could not have figured it out without the other help. 感谢所有有想法的人,因为在没有其他帮助的情况下我无法想出来。

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

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