Android build errors

前端 未结 5 1614
醉话见心
醉话见心 2021-01-19 07:37

I\'m getting these errors when trying to build my app in Eclipse. Things started going downhill when the compiler warned me that my .project file was missing.

Then I

相关标签:
5条回答
  • 2021-01-19 07:42

    Works for me : File -> Properties -> Java Compiler -> Configure Workspace Settings ...

    Then Restore Default, Apply and restart Eclipse.

    0 讨论(0)
  • 2021-01-19 07:54

    I was able to fix these very annoying errors by deleting all my projects out of the workspace and then reimporting them. Similar to Jazzmine's solution but one less step. Now waiting to see if the errors come back...

    0 讨论(0)
  • 2021-01-19 07:54

    I solved the problem, I think, by creating a new workspace, moving a copy of my project files into the new workspace and then importing the project. Not sure how so many files got blown away before but starting from scratch seemed to take care of it.

    0 讨论(0)
  • 2021-01-19 07:54

    Delete the project from the workspace and checkout again and configure the project... Its working for me in when I checkout from the SVN.

    0 讨论(0)
  • 2021-01-19 08:05

    The basic problem is that when the Restore Defaults was applied, the Preferences code correctly discovered that there were no project-specific settings remaining in the node, so it removed the node. But WorkingCopyPreferences never discovers that fact, so a timebomb is ticking from then on.

    Notice that since the JDT options pages all share a WorkingCopyManager, but each page only modifies a subset of the jdt.core settings, there is no way that any single page can tell whether restoring defaults for that page's settings will or will not cause the node to be removed. So it can't, e.g., cleverly call removeNode() on the WorkingCopyManager.

    0 讨论(0)
提交回复
热议问题