Adt 22.2 New App Wizard: Unsupported Template Dependency: Upgrade Your Android Eclipse Plugin

ADT 22.2 New App Wizard: Unsupported template dependency: Upgrade your Android Eclipse plugin

Update 2: Now (2013-09-19T17:00:00Z) there's an ADT 22.2.1 and Tools 22.2.1 updates available that fix this issue:

  • Use Eclipse > Help > Check for Updates to get ADT 22.2.1
  • Use SDK Manager to get Tools 22.2.1

You need both parts to fix the issue. The ADT bundle and the installer package on http://developer.android.com/sdk/index.html have been updated too.

(From here)


Update: The bug report now has a response with fixed template files attached and the following comments:

This one is my bad. I was in the middle of changing the dependency system used by the templates and a transient state got picked up into this tools build. The templates have settled in the AOSP master branch.

I've attached a snapshot of the current Activities templates. Replacing your sdk/tools/templates/activities folder with the contents of this zip should resolve this issue.

I apologize for the inconvenience.

My older workaround below.


Workaround to the bug:

For Blank Activity:

  1. Edit <sdk>/tools/templates/activities/BlankActivity/template.xml

  2. Comment out the dependency:

    <!--<dependency name="appcompat" version="v7" />-->

For Master/Detail Flow:

  1. Edit <sdk>/tools/templates/activities/MasterDetailFlow/template.xml

  2. Comment out the dependencies:

    <!--<dependency name="support" version="v4" />
    <dependency name="android-support-v4" revision="8" />-->

Finally:

  • Restart Eclipse

If needed, copy android-support-v4.jar from <sdk>/extras/support/v4 to your libs.

Eclipse - Cannot create new Android Application

If you download the eclipse with the ADT bundle and SDK from the android developers website here i think things would have been much easier

BUG in Android ADT-SDK-22.2

Atlast the problem has been solved by replacing the existing activities folder with the new one, provided by the Project member from code.google!!

This is the path to navigate to the activities folder in SDK:

android-sdks/tools/templates/activities

Download the activities folder from http://relinjose.com/android/activities.zip

That's it!! U Are Done!!
Else, restart....

cannot create new android project in eclipse after updating sdk

there is a problem with new adt September update, first update your eclipse adt plugin manually, and then you have to follow this Link

Cant create new AndroidAplication Project

Their is a Bug in latest release SDK 22.2
revert to old SDK 22.

Remove Android SDk/tools folder contens
and replace them with SDK 22(old version)

Download link: http://dl-ssl.google.com/android/repository/tools_r22-windows.zip

Reference link: https://code.google.com/p/android/issues/detail?id=33872



Related Topics



Leave a reply



Submit