加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-14 01:07:45 所属栏目:百科 来源:网络整理
导读:我找到了一些问题的答案,但没有为我工作。当获得新项目创建的最后一个屏幕时,我收到下一条消息: Unsupported template dependency: Upgrade your Android Eclipse plugin 所需的版本为空(在某些情况下显示为8)。安装的版本是18。 我已经尝试过许多我在这
我找到了一些问题的答案,但没有为我工作。当获得新项目创建的最后一个屏幕时,我收到下一条消息:

Unsupported template dependency: Upgrade your Android Eclipse plugin

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

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

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

这些都没有为我工作。

还有其他解决方案吗?

更新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

You need both parts to fix the issue. The ADT bundle and the installer package on 07000 have been updated too.

(从here)

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

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.

我以前的解决方法如下。

解决方法bug:

空白活动:

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

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

主/详细流程:

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

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

最后:

>重新启动Eclipse

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读