Eclipse shows an error on android project but can find the error

My favorite Android platform on which I can blog so much since its just full of strange behaviors. Latest was this problem where when I build my project then I would see a red mark on the project folder saying the build failed. But then on exanding all folders I would not find any error.

I was looking everywhere what is the problem. Since I am not using ANT and I dont even have a build.log which can tell me exactly what is the problem. In the past following had worked

1) Clean the project

2) Build it again.

No success.

1) Close eclipse and repeat above two steps.

That had worked in the past but this time the error was nasty :).

So I spent some time searching on net on how to find eclipse build logs. And here is the solution.

1) On Eclipse error log can be seen in Window -> Show View -> Problems

2) Now if you are like me who has selected Project -> Build Automatically, then on startup eclipse tries to load all projects in the workspace and will try to build them if they havent been already. The effect is that I have many projects for which external reference have not been resolved. This means they have lots of errors and the Problems log was full with > 3000 errors.

3) I needed to find the error for only my project. Solution for 2 is that clean all projects and unselect Build Automatically option.

4) If Problems log is still full. Right click-> Select all. Then Right click -> Delete. Now Problems log must be empty.

5) Build only your project again to see the problem.


So as is I got this funny error. Error generating final archive: Debug certificate expired on 7/30/10 10:42
Now what, another search on the web told me that Android needs a certificate to sign the applications before they get installed. Oh well!

So the solution to my problem was. Go to c:\users\<user name>\.android    folder. Delete debug.keystore file and now build in eclipse again. It will create the keystore again and now we can get back to work!!

Comments (10)

  1. says:

    Welcome to my site

    KYQUAN.INFO – when the music PLAY

    MOVIE, FILM, MUSIC, IT…Everything 2 share ! ^^ – welcome every body !

  2. hufegytv says:

    Doing very well! Thank you to share! I recommend here!

  3. me says:

    exactly the problem I was having. TYVM!

  4. Legend says:

    Thanks.  I spent so much time tried to clean and debug the project and finally I 've exactly the same problem as yours…..  THANKS !

  5. ak says:

    thnanks…it works

  6. vinnis says:

    in the error will be found

    "Starting emulator for AVD 'AVD_for_Nexus_4_by_Google'

    emulator: WARNING: Requested RAM size of 1907MB is too large for your environment, and is reduced to 1072MB.

    Failed to allocate memory: 8

    This application has requested the Runtime to terminate it in an unusual way.

    Please contact the application's support team for more information."

  7. sal says:

    i had same problems i did same as mentioned above but nw its showing errors..and cant b executed


  8. yojtek says:

    great resolving problem !! Thank you very much 🙂

  9. Eclipse does not start says:

    Java was started but returned exit code=13





    -jar C:Program



    -os win 32

    -ws win32

    -arch x86_64

    -showsplash C:Program



    -launcher C:Program


    -name Eclipse

    –launcher.library C:Program



    -startup C:Program




    -exitdata e90_5c


    -vm C:ProgramDataOracleJavajavapathjavaw.exe








  10. devraj chavda says:


    i also in this stuck from  3 days and i try to solve so many ways work space folder permision debug key store delete and again build that and also create new work space and i have no any use of library so no change  order of that any one help me troubleshoot that issue thnks …

Skip to main content