Figure 3-5: A project with errors in Eclipse.
Deconstructing Your Project
The Android project generated by Eclipse is a fresh, clean project with no compiled binary sources. Sometimes, Eclipse takes a second to catch up to you, so you may notice minor oddities about the system. You also need to understand what happens under the hood of Eclipse at a high level. That’s what you find in the next couple of sections.
Responding to error messages
If you were quick enough to look (or if your computer runs on the slower edge of the spectrum), you may have noticed, immediately after you clicked the Finish button, a little red icon hovering over the Hello Android folder icon in the Package Explorer in your Eclipse window. (See Figure 3-5.) That icon is Eclipse’s way of letting you know that something is wrong with the project in the workspace.

By default, Eclipse is set up to let you know with this visual cue when an error is found within a project. How can you have an error with this project? You just created the project using the New Android Project Wizard — what gives? Behind the scenes, Eclipse and the Android Development Tools do a few things for you:
Provide workspace feedback: This feedback lets you know when a problem exists with any project in the workspace. You receive notification ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access