I'm the getting two error messages when importing LWC projects in eclipse- Negative Time and Errors running builder 'Android Resource Manager' on project Other projects not created in LWC work fine
Hmm.. http://stackoverflow.com/questions/10172694/eclipse-cant-save-file-negative-time-error Could be related? What does it say in the error log?
Erros occur during the build java.lang.NullPointerException at com.android.ide.eclipse.adt.internal.build.builders.BaseBuilder.abortOnBadSetup(BaseBuilder.java:326) at com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder.build(ResourceManagerBuilder.java:88) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
eclipse.buildId=v22.0.1-685705 java.version=1.6.0_43 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US 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
It does not import the project properties file. Have attached below a screenshot of the project structure after pressing 'OK' on the error message.
Hmm. Not sure why it doesn't, but you can just copy/paste it from a different project or from the original source. It's not really that unique. I couldn't reproduce this on my end. My projects imported without issues.
I also found that the everything in the res folder and src folder is empty after the import. I then copied the entire contents from the source folder into my project folder in the eclipse workspace and that works fine. This just seems to be happening recently after I downloaded LWC once again(coz I had to format my PC ).