我发现一些答案的问题,但没有为我工作。当得到最后一个屏幕中一个新的项目创建,我收到的下一条消息:
I found some answers to that issue but none worked for me. When getting the last screen in a new project creation, I'm getting the next message:
不支持模板依赖:升级你的Android Eclipse插件
Unsupported template dependency: Upgrade your Android Eclipse plugin
要求的版本为空(在某些情况下,显示为8)。安装的版本是18。
The required version is empty (in some cases appears as 8). The installed version is 18.
我已经尝试了很多,我发现这里的解决方案,如:
I already tried many of the solutions I found here, like:
运行SDK管理器作为管理员 运行Eclipse作为管理员 重新安装从SDK额外的文件夹中的支持组件,然后重新启动Eclipse,所有这些对我来说没有工作。
None of these didn't work for me.
难道还有其他的解决办法吗?
Is there another solution?
更新2:现在(2013-09-19T17:00:00Z)有一个的 ADT 22.2.1 和工具22.2.1 的是解决此问题的可用更新:
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:
使用的Eclipse>帮助>检查更新来获得ADT 22.2.1 使用SDK管理器获取工具22.2.1您需要两个部分来解决该问题。在 http://developer.android.com/sdk/index.html的ADT包和安装包已经被更新了。
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:
这一个是我不好。我是在改变所使用的模板和一个过渡状态得到拾取到该工具生成的依赖系统的中间。模板纷纷落户AOSP主分支。
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.
我已经连接的当前活动模板的快照。这个ZIP的内容更换你的SDK /工具/模板/活动文件夹应该可以解决这个问题。
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.
解决方法的错误:
对于空白活动
修改< SDK> /tools/templates/activities/BlankActivity/template.xml
注释掉的依赖:
<!--<dependency name="appcompat" version="v7" />-->
有关主/详细流程
修改&LT; SDK&GT; /tools/templates/activities/MasterDetailFlow/template.xml
注释掉的依赖关系:
<!--<dependency name="support" version="v4" />
<dependency name="android-support-v4" revision="8" />-->
最后:
重启Eclipse如果需要,复制 Android的支持 - v4.jar
从&LT; SDK&GT; /演员/支持/ V4
你的库
。
If needed, copy android-support-v4.jar
from <sdk>/extras/support/v4
to your libs
.