Same experience for me.
Started with Mapview compile errors after getting the latest Java update 21Mar2012 though I hadn't changed path configs yet.
Loaded some SDK updates then following the suggestion from Eclipse Helio, found and updated to v17 of ADT. Path to Java on compile is broken yet Java compiler options have 1.6 as default.
Loaded Eclipse Indigo and loaded everything from scratch linked in latest Java update, same Java compile error. You know something broken when Java.lang and String types are unknown...
Something seriously in error with V17 ADT and Windows eclipse.
Anyone know how to revert to previous ADT and SDK ?
ADDED:
When I looked at my other Android projects I noticed the Android 2.2 library class path was there (prev ADT versions). The key to successful workaround changes seemed to be the .classpath
files in the project workspace.
The workaround for me was to find a 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>
I then added the android and maps JARs 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>
This now works for me :)