`
yangzb
  • 浏览: 3499697 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Eclipse Indigo - Cannot install Android ADT Plugin

阅读更多

When I try to install the Android Developer Tool, I get the following error.

Software being installed: Android Development Tools 11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group 11.0.0.v201105251008-128486) Missing requirement: Android Development Tools 11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group 11.0.0.v201105251008-128486) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

I also found that adding the WST package does not help. I get the following,

Cannot complete the install because one or more required items could not be found. Software being installed: Google Web Toolkit SDK 2.3.0 2.3.0.r37v201106211634 (com.google.gwt.eclipse.sdkbundle.e37.feature.feature.group 2.3.0.r37v201106211634) Missing requirement: Google Plugin for Eclipse 3.7 2.3.2.r37v201106211634 (com.google.gdt.eclipse.suite.e37.feature.feature.group 2.3.2.r37v201106211634) requires 'org.eclipse.wst.xml.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Google Web Toolkit SDK 2.3.0 2.3.0.r37v201106211634 (com.google.gwt.eclipse.sdkbundle.e37.feature.feature.group 2.3.0.r37v201106211634) To: com.google.gdt.eclipse.suite.e37.feature.feature.group 2.3.2

I'm running Eclipse Indigo 64bit version. Could someone point me in the right direction? Or tell me where to find that missing package.

 

 

 

I got around the org.eclipse.wst.xml.core 0.0.0 issue by taking the following steps:

  • Go to help
  • Install New Software: Add Name: Indigo Location: "http://download.eclipse.org/releases/indigo "
  • Select 'WST Server Adapters ' under 'Web, XML, Java,... " (last name in list)
  • Accept licensing agreement
  • Restart Eclipse
  • Resume procedure to install ADT

It worked for me, hope it does for you too.

分享到:
评论
1 楼 yangzb 2012-02-29  
eclipse 同时支持JDT和CDT

将eclipse-java-indigo-linux-gtk.tar.gz和eclipse-cpp-indigo-incubation-linux-gtk.tar.gz两个文件分别解压到同一个目录下,因为这两个文件都默认解压到eclipse文件夹下,所以解压后的两个文件夹自动合并在一起了。

测试如下:

打开该eclipse , 先创建一个cpp project , 其中的cpp文件如下:
#include <iostream>
using namespace std;
int main() {
    cout << "!!!Hello World ,this is a cpp project!!!" << endl; // prints !!!Hello World!!!
    return 0;
}

再创建一个java project , 其java文件名是myfirstprog.java ,文件如下:
public class myfirstprog {
      public static void main(String args[])
      {
         System.out.println("Hello World! This is a java project");
      }
}

编译cpp project ,运行后的结果是 !!!Hello World ,this is a cpp project!!!
编译java project ,运行后的结果是 Hello World! This is a java project
证明这种方法是正确的,成功了。

相关推荐

Global site tag (gtag.js) - Google Analytics