0

When i created project before i could see the .java file on project file a cross mark is displayed and it is showing errors. Once I executed 'hello world' it ran successfully.

Khaja moin
  • 21
  • 2
  • 6

1 Answers1

0

Look in the "Problems" tab, normally at the bottom of your Eclipse workspace. This will tell you what the problem is. Sometimes you just need to do Project > Clean and rebuild it.

Shawn Lauzon
  • 6,234
  • 4
  • 35
  • 46
  • On eclipse console tab it is not displaying anything. Just an alert box is displayed saying that "Your project contains errors, fix them and before running" – Khaja moin Jan 02 '11 at 10:43
  • Sure, but that's the CONSOLE tab. Look at the PROBLEMS tab. If it's not there, enable it with Window > Show View > Problems – Shawn Lauzon Jan 03 '11 at 03:46
  • When I run, It is showing "Error generating final archive:Debug certificate expired" – Khaja moin Jan 03 '11 at 09:57
  • That problem is solved here: http://stackoverflow.com/questions/2194808/debug-certificate-expired-error-in-eclipse-android-plugins – Shawn Lauzon Jan 03 '11 at 15:27
  • ya i got thank U its running ....which is the best way to develop android app? Is it in JAVA or XML? – Khaja moin Jan 04 '11 at 06:45
  • That's a separate question, so really belongs on another topic, but most people suggest using XML as much as possible. Since I answered your original question, please mark it as answered. Thanks! – Shawn Lauzon Jan 04 '11 at 15:26