与adt-bundle的eclipse不会启动 - 找不到注册表项

时间:2013-05-27 00:35:37

标签: eclipse-adt

问题在于针对Android ADT修改的eclipse。我安装了adt-bundle-windows-x86_64.zip(已下载24feb2013),并保持最新的ADT捆绑和eclipse更新。

我最近将ADT(?)更新到了第22版。 Android编辑失败(普通项目仍然有效),谷歌先生告诉我在ADT经理(?)附近安装一些东西,我做了。

现在,当我调用eclipse时,我得到一个包含以下内容的对话框:

An error has occurred. See the log file ...

日志文件的顶部是

!SESSION 2013-05-27 10:15:58.540 -----------------------------------------------
eclipse.buildId=v21.1.0-569685
java.version=1.7.0_15
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU
Framework arguments:  -product com.android.ide.eclipse.adt.package.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.android.ide.eclipse.adt.package.product

!ENTRY org.eclipse.osgi 2 0 2013-05-27 10:15:59.799
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-05-27 10:15:59.799

,底部是

java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.cdt.codan.core.application, org.eclipse.cdt.core.GeneratePDOM, org.eclipse.cdt.managedbuilder.core.headlessbuild, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

Eclipse不使用注册表(我相信)所以这必须是ADT。我担心卸载+重新安装eclipse不会正确清理注册表。

有人可以建议如何从注册表中清除Android的ADT内容吗?

顺便说一下,我正在运行Windows 7.

我跑过“eclipse -clean”。它给了我相同的对话框。

注意:我没有看到日食窗口。我无法访问设置菜单,adt-manager等。

2 个答案:

答案 0 :(得分:0)

控制面板 - >高级系统设置 - >环境变量 - >

现在:

1 - 创建一个新的变量变量name = JAVA_HOME

variable value=C:\Program Files\Java\jdk1.7.0_01

2 - 编辑Path变量并在

的末尾添加它
;%JAVA_HOME%\bin

答案 1 :(得分:0)

最终,我刚刚卸载了eclipse,并重新安装了。它已经好几周了。

没有用的东西......

我下载并运行了一个注册表清理程序(不是编辑器)。它没有任何区别。

我试图自己安装eclipse并添加ADT包,但无法按照说明操作。他们以为我知道有些软件包已经下载了,但我不知道。因为我有旧的捆绑,文件搜索没有帮助。

所以,我放弃并下载了Android的ADT + eclipse捆绑包。那很有效。