我使用eclipse安装程序安装了最新版本的Eclipse(Neon),我在其中选择了 Eclipse for Android Developers 。 我打开了一个工作区,其中有一个项目是用几年前的旧版Eclipse( Android开发工具)创建的。 当我打开Eclipse时,它会提示以下错误:
没有id com.android.ide.eclipse.editors.manifest.ManifestEditor的编辑器描述符
我得到的不是清单文件的内容。
这是日志输出:
!ENTRY org.eclipse.ui.workbench 4 2 2016-08-17 11:24:38.314
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 1
org.eclipse.core.runtime.CoreException: Executable extension definition for "class" not found.
at org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2016-08-17 11:24:38.324
!MESSAGE Executable extension definition for "class" not found.
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2016-08-17 11:24:38.325
!MESSAGE Executable extension definition for "class" not found.
!ENTRY org.eclipse.ui 4 0 2016-08-17 11:24:38.406
!MESSAGE Unable to execute early startup code for the org.eclipse.ui.IStartup extension contributed by the 'org.eclipse.sequoyah.device.framework.wizard' plug-in.
!STACK 1
org.eclipse.core.runtime.CoreException: Executable extension definition for "class" not found.
at org.eclipse.core.internal.registry.ConfigurationElement.throwException(ConfigurationElement.java:62)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:222)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:291)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:52)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:286)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:53)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench$55.run(Workbench.java:2829)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2016-08-17 11:24:38.406
!MESSAGE Executable extension definition for "class" not found.
由于此错误,没有LogCat输出:
无法创建视图:com.android.ide.eclipse.ddms.views.LogCatView
你知道如何解决这个问题吗?
答案 0 :(得分:1)
Eclipse.org上对Android工具的更改改变了插件和编辑器ID。旧ID将不再有效,因此您在该工作空间中打开的任何Android工具编辑器都会在重新打开时导致错误。他们应该仍然在他们的新ID下。尝试重置透视图,或者像往常一样继续。
答案 1 :(得分:0)
您是否尝试关闭错误的视图/编辑器并再次打开它?重新开放应该引用新ID并更好地工作。
如果还不够,您必须在专用首选项页面中清除Android文件的过时文件/编辑器关联。