ADT 22.2新应用程序向导:不支持的模板依赖关系:升级Android Eclipse插件

前端之家收集整理的这篇文章主要介绍了ADT 22.2新应用程序向导:不支持的模板依赖关系:升级Android Eclipse插件前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我找到了一些问题的答案,但没有为我工作。当获得新项目创建的最后一个屏幕时,我收到下一条消息:
@H_404_2@Unsupported template dependency: Upgrade your Android Eclipse plugin

@H_404_2@所需的版本为空(在某些情况下显示为8)。安装的版本是18。

@H_404_2@我已经尝试过许多我在这里找到的解决方案,如:

@H_404_2@>以管理员身份运行SDK管理器
>以管理员身份运行Eclipse
>从SDK附加文件夹重新安装支持组件,然后重新启动Eclipse,

@H_404_2@这些都没有为我工作。

@H_404_2@还有其他解决方案吗?

更新2:现在(2013-09-19T17:00:00Z)有一个ADT 22.2.1和工具22.2.1更新可用,解决这个问题:
  • Use Eclipse > Help > Check for Updates to get ADT 22.2.1
  • Use SDK Manager to get Tools 22.2.1
@H_404_2@You need both parts to fix the issue. The ADT bundle and the installer package on 07000 have been updated too.

@H_404_2@(从here)

@H_404_2@更新:bug report现在有一个response附加固定的模板文件和以下注释:

@H_404_2@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.

@H_404_2@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.

@H_404_2@I apologize for the inconvenience.

@H_404_2@我以前的解决方法如下。

@H_404_2@解决方法bug

@H_404_2@空白活动:

@H_404_2@>编辑< sdk> /tools/templates/activities/BlankActivity/template.xml
>注释掉依赖:

<!--<dependency name="appcompat" version="v7" />-->
@H_404_2@主/详细流程:

@H_404_2@>编辑< sdk> /tools/templates/activities/MasterDetailFlow/template.xml
>注释掉依赖关系:

<!--<dependency name="support" version="v4" />
<dependency name="android-support-v4" revision="8" />-->
@H_404_2@最后:

@H_404_2@>重新启动Eclipse

@H_404_2@如果需要,将android-support-v4.jar从< sdk> / extras / support / v4复制到您的libs。

猜你在找的设计模式相关文章