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.
Asked
Active
Viewed 137 times
0
-
bocz the project is not build that time once you run it is build and run successfully – ingsaurabh Dec 31 '10 at 07:09
-
it is not running, it is giving a message that Ur project has errors plz fix then and run – Khaja moin Jan 02 '11 at 10:33
1 Answers
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