February 23, 2012

1 articles on February 23, 2012

This is a big mystery to me. When working on Android Project with Eclipse, after a period of time, the Eclipse workspace would become corrupt for whatever reason. It will then ask me to create a new workspace. Fine! I did that, and re-import all my project. I need to do it one by one.  It’s super annoying. So, I did that too.

Now eclipse is reporting error on ALL overridden method.

“The method onClick(DialogInterface, int) of type new DialogInterface.OnClickListener(){} must override a superclass method.

1 quick fix available: Remove ‘@Override’ annotation.

If you remove the annotation, yes it would work again. Super annoying.

I researched on Google, and it seems like this is a compiler version issue. But all the solution I tried doesn’t work. I finally got it to work after some time.

These are several things I did to get it to work: Continue Reading →