Johann
Johann

Reputation: 29867

Android: Figuring out the error in Eclipse with a red exclamation mark

When I see a red exclamation mark in Eclipse next to my project name, how do I figure out what the error is? There is no error message. All I get is "Your project contains errors..."

Upvotes: 2

Views: 3945

Answers (4)

Gearsdf Gearsdfas
Gearsdf Gearsdfas

Reputation: 99

Here is a simple solution. I had the same problem when I started.

You will see 3 tabs on the bottom. "Console", "Logcat", "Error"

Logcat is most likely the best spot to find it if it is a arithmetic error or something you wrote down was wrong. You may find the error line inside here as well.

Error is the system errors in the system. Different requirements for jars, or project requires this version and your this version.

Now if you can't find this 2. On the bottom left corner of the screen you will see a tiny column and a + symbol click it and get the error and logcat.

Upvotes: 0

Cruceo
Cruceo

Reputation: 6834

Go to the Problems tab within eclipse, and a detailed list of any project errors will be available there.

If it's not open, go to: Window > show View > Problems

Upvotes: 11

barbiepylon
barbiepylon

Reputation: 911

Its most likely a build path error. Right click on the project -> properties -> build path. Look for an error there.

Also, look at the error log...should pop up there.

Upvotes: 1

jeet.chanchawat
jeet.chanchawat

Reputation: 2575

look for it into the console... or may be your drawable image name is having capital letters, spaces, or a minus sign. In res/drawable folder, only names with 0 to 9, a to z and underscore_ are allowed

Upvotes: 0

Related Questions