Maybe it's just me, but almost every time I import an Android project, it does not compile. First I need to install the Android SDK. It is reasonable. But then I almost always need to reset the JDK. Usually from JDK 1.4 to JDK 1.6. Now I really don't think that too many people are developing android with JDK 1.4. Perhaps they are, but it is not on my machine, and yet it is often pre-selected in every Android project that I import. Its an annoying extra step, and I can't imagine xCode doing something like this. Does anyone know why Eclipse does this?
Now some of these projects are not the latest. But what makes me think that this is an eclipse problem is that often the error is that it will not compile, because its not version 1.6. This means that it should have been developed using JDK 1.6. This is usually a bug with @Override, which I see saying that it cannot be used without JDK 1.5 or 1.6+. Then I check the JDK setup for the project and am pretty confident in JDK 1.4. Never 1.5, Never 1.3.
source share