Installing ADT plugin in Eclipse for Android development

扶醉桌前 提交于 2019-12-21 06:47:25

问题


when I tried to install the ADT to eclipse (indigo) the following error came up:

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...


回答1:


It seems that you have to run Eclipse as administrator.




回答2:


It's an Eclipse bug, see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=350645

You shouldn't need to be administrator to install additional plugins...




回答3:


  1. Remove the ADT repo (Window->Preferences->Install/Updates->Available Software Sites)
  2. Add Indigo repo ("http://download.eclipse.org/releases/indigo")
  3. Run updates
  4. Add ADT repo again and install



回答4:


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. That fixed it. Thanks to all who had ideas as I could not have figured it out without the other help.



来源:https://stackoverflow.com/questions/8027876/installing-adt-plugin-in-eclipse-for-android-development

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!