3

我只是导入项目。我在 res 和 src 文件夹中收到错误迹象。我决定从现有代码创建一个项目。我仍然得到错误。我得到的错误不是所有项目,而是一些项目,主要是所有谷歌示例:

java.lang.reflect.InvocationTargetException
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createProjectAsync(NewProjectCreator.java:677)
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.access$0(NewProjectCreator.java:590)
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator$3.execute(NewProjectCreator.java:400)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.eclipse.core.internal.resources.ResourceException: Invalid project description.
    at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:175)
    at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:53)
    at org.eclipse.core.internal.resources.Project.create(Project.java:287)
    at org.eclipse.core.internal.resources.Project.create(Project.java:269)
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createEclipseProject(NewProjectCreator.java:727)
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createProjectAsync(NewProjectCreator.java:660)
    ... 6 more
Root exception:
org.eclipse.core.internal.resources.ResourceException: Invalid project description.
    at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:175)
    at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:53)
    at org.eclipse.core.internal.resources.Project.create(Project.java:287)
    at org.eclipse.core.internal.resources.Project.create(Project.java:269)
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createEclipseProject(NewProjectCreator.java:727)
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createProjectAsync(NewProjectCreator.java:660)
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.access$0(NewProjectCreator.java:590)
    at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator$3.execute(NewProjectCreator.java:400)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Contains: OK
Contains: C:\Users\ramapriya\workspace\InteractiveChart overlaps the location of another project: 'InteractiveChart'

我重新启动了 eclipse.my 电脑,清除了所有项目。不知道如何解决这个问题。

谢谢

编辑:我需要提到一些项目成功运行,没有错误(之前)现在显示错误。项目工作得很好/

项目浏览器

4

1 回答 1

2

所以我尝试改变主题,java文件。没有任何效果。我所要做的就是:

  1. 转到项目属性(右键单击您的项目)

  2. 转到Android Target,单击最近。

  3. 好的,申请,你去!:D

于 2013-08-11T07:44:00.287 回答