Eclipse says there is a bug, but where?

If I do Project -> Clean and then Build everything is fine, but if I try to run this Android project, a dialog pops up: "Your project contains errors. Please fix them before running the application" and there is a red cross on the project name.

There are no items in the project tree, and nothing appears in the Console or Log View. So where is the mistake?

The only difference for this project and the earlier working version was that I removed the link to the external .jar file, created the "lib" folder and put the .jar there and added that the .jar to the build path..jar is the same as the external link.

enter image description here

+3


source to share


4 answers


You may need to update your project to see errors. Also, go to the Issues tab for more details (Window> Show View> Other> General> Issues).



+9


source


Eclipse shows errors in problem view.



0


source


It's hard to guess, but I would check the build path (right click on the project and see), if any entry is missing then this error sign might be. Another reason for this red error mark is that if this project includes some other java project in the path that has any errors (compilation or build path) then it will display errors as well.

0


source


I had this error when I removed the library but didn't remove it from the build path. Go to Properties - Java Library Build Path. And see if you see something like "unable to find library" and remove it.

0


source







All Articles