The same goes for me.
Started with Mapview compilation errors after getting the latest Java 21Mar2012 update, although I haven't changed the path settings yet.
Download some SDK updates, then follow the Eclipse Helio recommendations found and updated to v17 from ADT. The compilation path to Java is broken, but the default Java compiler options are 1.6.
We downloaded Eclipse Indigo and downloaded everything from scratch related in the latest Java update, the same Java compilation error. You know something broken when the Java.lang and String types are unknown ...
Something seriously in error with the V17 ADT and Windows eclipse.
Does anyone know how to revert to previous ADT and SDK?
ADDED: When I looked at my other Android projects, I noticed that the path to the Android 2.2 library class was there (previous versions of ADT). The key to successful workaround changes seemed to be .classpath files in the project workspace.
The workaround for me was to find the pre V17 file (below)
<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="output" path="bin/classes"/> </classpath>
Then I added android and displayed the JAR manually under Project > Properties > Java Build Path , and the file became:
<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="gen"/> <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry kind="lib" path="C:/Apps/Android/android-sdk-windows/platforms/android-8/android.jar"/> <classpathentry kind="lib" path="C:/Apps/Android/android-sdk-windows/add-ons/addon_google_apis_google_inc_8/libs/maps.jar"/> <classpathentry kind="output" path="bin/classes"/> </classpath>
Now it works for me :)
TheSolarSheriff
source share