Skip to content Skip to sidebar Skip to footer

Installing Adt 17 On Windows 7 And Eclipse Indigo, Everything Works Fine But There Is No Android Type Project In New Project

Today I installed the new Android SDK tools revision 17. When I started eclipse, it said that you should upgrade your ADT. I downloaded the latest version ZIP file (ADT-17.0.0.zip)

Solution 1:

Try running eclipse with -clean option from command line, like this:

C:\path_to_where_eclipse_is_installed\eclipse -clean

This should clean eclipse plugin preference caches, probably would resolve your case.

Solution 2:

Read this on android developer page under Updating Plugin for Eclipse. I hope this helps.

In some cases, a new revision of ADT will have a dependency on a specific revision of the Android SDK Tools. If such dependencies exist, you will need to update the SDK Tools component of the SDK after installing the new revision of ADT. To update the SDK Tools component, use the Android SDK and AVD Manager, as described in Adding SDK Components.

If you encounter problems during the update, remove the existing ADT plugin from Eclipse, then perform a fresh installation, using the instructions for Installing the ADT Plugin.

Solution 3:

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><classpathentrykind="src"path="src"/><classpathentrykind="src"path="gen"/><classpathentrykind="con"path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/><classpathentrykind="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><classpathentrykind="src"path="gen"/><classpathentryexported="true"kind="con"path="com.android.ide.eclipse.adt.LIBRARIES"/><classpathentrykind="lib"path="C:/Apps/Android/android-sdk-windows/platforms/android-8/android.jar"/><classpathentrykind="lib"path="C:/Apps/Android/android-sdk-windows/add-ons/addon_google_apis_google_inc_8/libs/maps.jar"/><classpathentrykind="output"path="bin/classes"/></classpath>

This now works for me :)

Post a Comment for "Installing Adt 17 On Windows 7 And Eclipse Indigo, Everything Works Fine But There Is No Android Type Project In New Project"