我是使用 eclipse 的新手,我的第一个问题是弄清楚错误消息的真正含义。尝试在 Android 编程上动手,并尝试效仿。但是当代码构建时,我有 Java 错误阻止我的代码运行,并且希望能在翻译这方面提供一些帮助,所以它在某种程度上对我来说是有意义的。主要问题似乎在我的项目附带的自动生成的 Activity.Java 文件中,但不完全确定我应该做什么。提前致谢。
Exception occurred while saving project preferences: /com.example.android.nfc.simulator.FakeTagsActivity/.settings/org.eclipse.jdt.core.prefs.
org.eclipse.core.internal.resources.ResourceException: A resource already exists on disk 'C:\Development\JavaWorkSpace\UnitedNFCApp\UnitedNFCApp\.settings'.
at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:47)
at org.eclipse.core.internal.resources.Folder.create(Folder.java:95)
at org.eclipse.core.internal.resources.ProjectPreferences$1.run(ProjectPreferences.java:566)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.ProjectPreferences.save(ProjectPreferences.java:590)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalFlush(EclipsePreferences.java:465)
at org.eclipse.core.internal.resources.ProjectPreferences.flush(ProjectPreferences.java:350)
at org.eclipse.jdt.internal.core.JavaProject.setOption(JavaProject.java:2953)
at com.android.ide.eclipse.adt.internal.project.ProjectHelper.checkAndFixCompilerCompliance(ProjectHelper.java:438)
at com.android.ide.eclipse.adt.internal.project.ProjectHelper.fixProjectClasspathEntries(ProjectHelper.java:343)
at com.android.ide.eclipse.adt.internal.project.ProjectHelper.fixProject(ProjectHelper.java:261)
at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createEclipseProject(NewProjectCreator.java:775)
at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createProjectAsync(NewProjectCreator.java:620)
at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.access$0(NewProjectCreator.java:553)
at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator$2.execute(NewProjectCreator.java:365)
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)
eclipse.buildId=I20120608-1400
java.version=1.7.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product