Android

5 articles in category Android / Subscribe

Skim through the screen shot that contains yellow exclamation mark. If one of them apply to you, hopefully this blog helps. The following is the sequence of error I was getting, and how i fixed it. Make sure you only follow the part mark as Solution.

1.

Problem: The project at <folder> is an Android ADT project. To Import this project into Android Studio, you first need to *export* it as Gradle project from ADT.

Solution: Fire up your ADT(Eclipse), import the project into ADT, and Export it to a Gradle export.

To import the file into eclipse and ex, click the following: Continue Reading →

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 →