simon-heinen / droidar

DroidAR Mobile Locationbased Augmented Reality Framework for Android
GNU General Public License v3.0
225 stars 275 forks source link

Error while importing to ADT Eclipse #22

Open esnho opened 10 years ago

esnho commented 10 years ago

Hi, I would like to use your library for an academic project at the "Accademia di Carrara" in Italy. I've got problem during the import of the library in ADT Eclipse, I get an error window and all the imported projects come with an exclamation mark on the project except DroidAR wich has an error in the system.EventManager class at line 123, the error says: "TYPE_ROTATION_VECTOR cannot be resolved or is not a field" But maybe this last error is caused by bad importing in ADT.

Thank you.

I attach an image and I write you down what I get:

(https://cloud.githubusercontent.com/assets/2782780/2625893/dafb5d8e-bdae-11e3-94ee-dd4b8c5b8dc6.png)

eclipse.buildId=v22.3.0-887826 java.version=1.7.0_51 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=it_IT 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

Error Sun Apr 06 19:03:19 CEST 2014 New Project Wizard failed

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: Java Model Exception: Core Exception [code 274] Could not set the project description for 'ModelLoaderAdapters' because the project description file (.project) is out of sync with the file system. at org.eclipse.jdt.internal.core.ProjectReferenceChange.updateProjectReferencesIfNecessary(ProjectReferenceChange.java:113) at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:59) at org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation(SetClasspathOperation.java:74) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793) at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3095) at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3057) at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3110) at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.setupSourceFolders(NewProjectCreator.java:1400) at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createEclipseProject(NewProjectCreator.java:767) at com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectCreator.createProjectAsync(NewProjectCreator.java:660) ... 6 more