Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse tells me my project has errors, nothing is red-highlighted [duplicate]

This happened to two programs of mine now and makes absolutely no sense. It usually comes about when I'm adding a resource file (in this case, a menu). In the package explorer: -the project name has a small red x, indicating that there is an error in one of its files -none of the sub-folders or files have an x or show any red highlights

None of my code has errors! Ocasionally, I see this:

[2010-09-02 16:09:20 - FallDown] 'default' is not a best match for any device/locale combination.
[2010-09-02 16:09:20 - FallDown] Displaying it with 'Normal, Not Long, Landscape, Medium Density, Finger, Soft, Qwerty, Trackball, 480x320'

What is going on?

like image 202
Seth Nelson Avatar asked Sep 02 '10 20:09

Seth Nelson


People also ask

Why is Eclipse not showing errors?

You need to open the eclipse Markers view ( Window->Show View->Markers ), it will show all errors about your project, if you correct all the errors, your problem will most likely be solved. Save this answer.

How do I fix eclipse errors?

The Quick Fix dialog can also be displayed by right clicking on the error item in the Problems view and selecting the Quick Fix menu item.

How do I show errors in Eclipse project?

From the main menu, select Window > Show view > Other. Then select General > Error Log. The error log is displayed, showing the following information for each error: The status of the error (for example, error or warning)

What does Red Cross on project icon mean in eclipse?

Usually it means that there's a path error, eg. one jar referenced in the project cannot be found.


2 Answers

Window --> Show View --> Problems. This should display a list of the specific problems that Eclipse is 'worried' about.

like image 152
antonyt Avatar answered Sep 22 '22 03:09

antonyt


Usually what I do in this case is to call "Project > Clean" from the menu.

With this Project > Clean we should also check our layout (xml) it might be representing any components which is going out of screen size.

like image 44
Juri Avatar answered Sep 22 '22 03:09

Juri