'Unsupported template dependency: Upgrade your Android Eclipse plugin' with SDK Tools v22 [duplicate]

江枫思渺然 提交于 2019-12-21 03:12:31

问题


I recently upgraded my Android SDK Tools to version 22. But whenever I am trying to create a new project in Eclipse, I get an error message:

Unsupported template dependency: Upgrade your Android Eclipse plugin

How can I fix this problem?


回答1:


Download from http://dl-ssl.google.com/android/repository/tools_r22-windows.zip, unzip it and replace the /tools folder with this one to downgrade the sdk tools. There's a bug in version 22.

For Mac http://dl-ssl.google.com/android/repository/tools_r22-macosx.zip

For Linux: http://dl-ssl.google.com/android/repository/tools_r22-linux.zip




回答2:


The project member posted comment #55 that solves this issue without downloading the SDK tools. Just download the activity templates and replace the sdk/tools/templates/activities folder with the contents of the ZIP file.

You may need to restart Eclipse with the -clean option for it to work.




回答3:


From Eclipse go to Help > Check for updates and install any of the updates that Eclipse shows.

Once you update the SDK components you always usually need to update the Eclipse plugins as well.




回答4:


I started facing the same issue yesterday when I upgraded to the latest Android SDK Tools (22.2). So I reverted back the changes and am now using Android SDK Tool (22.0.5) and it works fine.

Try downgrading Android SDK Tools.



来源:https://stackoverflow.com/questions/18845017/unsupported-template-dependency-upgrade-your-android-eclipse-plugin-with-sdk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!