Android的Eclipse的支持库:需要的版本空白 [英] Android Eclipse Support Library: Required version blank

查看:124
本文介绍了Android的Eclipse的支持库:需要的版本空白的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载并安装了最新的ADT套件,可以从Android开发者网站。在此之后,我在SDK管理器中安装的所有的软件包,其中包括了Android的支持库启18'。最后,我在Eclipse安装通过了最新的ADT帮助>安装新软件...菜单。

I have just downloaded and installed the latest ADT Bundle for Windows available from the Android Developer website. Following this, I installed all the packages in the SDK Manager, including the 'Android Support Library Rev. 18'. Finally, I installed the latest ADT through the 'Help > Install New Software...' menu in Eclipse.

我已经严格遵循了以下指导创建我的第一个项目:

I have strictly followed the following guide to create my first project:

http://developer.android.com/training/basics/ firstapp /创建-project.html

但到了最后一步,我得出一个错误,表示支持库版本我已经安装,并-blank的所需版本 - :

But by the last step, I arrive at an error, showing the Support Library revision I have installed, and a required version of -blank-:

http://i.stack.imgur.com/CScNj.png (很抱歉,我不能发表图片还)

http://i.stack.imgur.com/CScNj.png (sorry, I can't post images yet)

我已经通过窗口> preference将Eclipse指向正确的SDK目录检查。矿包含目录:插件,内置工具,文档,临时演员,平台,平台工具,样品来源,系统图像,温度,工具 - 我认为这是正确的。

I have checked through 'Window > Preference' that Eclipse is pointing to the right SDK directory. Mine contains the directories: add-ons, build-tools, docs, extras, platforms, platform-tools, samples, sources, system-images, temp, tools - I assume this is correct.

我在其他地方了解的\额外移动文件\机器人\兼容性\演员\机器人\的支持,但是我没有兼容性目录。此外,我的支持文件夹中包含的文件夹:样本,V4,V7,V13 - 如果这意味着什么(我认为问题出在什么地方)。我已经安装在Android SDK管理器管理权限的包,并试图在Eclipse中创建一个Android项目管理员权限了。

I have read elsewhere about moving files from \extras\android\compatibility to \extras\android\support, however I do not have the 'compatibility' directory. Additionally, my support folder contains the folders: samples, v4, v7, v13 - if that means anything (I assume the problem lies somewhere in here). I have installed the packages in the Android SDK Manager with admin privileges, and have tried creating an android project in Eclipse with admin privileges too.

不知道从哪里何去何从。有没有其他人经历过这样的错误,可以在正确的方向指向我?

Not sure where to go from here. Has anyone else experienced this error and can point me in the right direction?

推荐答案

您可以暂时降级为previous版本:只要下载的 http://dl-ssl.google.com/android/repository/tool​​s_r22-windows.zip 并将其解压到你的..Android \ android- SDK \工具文件夹中。 它在我的情况下,解决了这个问题。

You may temporarily downgrade to previous version: just download http://dl-ssl.google.com/android/repository/tools_r22-windows.zip and extract it to your "..Android\android-sdk\tools" folder. It solved the problem in my case.

更新: 作为@DogGuts建议,更好的方法是从<一个下载正确的模板href="https://android.google$c$c.com/issues/attachment?aid=601490055000&name=activities.zip&token=0obRvNdQp4BWbe36Zshpy9lJLII:1379692929479"相对=nofollow>这里和替换\机器人\ Android的SDK \工具\模板\活动文件

UPDATE: As @DogGuts suggested, a better way is to download correct templates from here and replace files in "\Android\android-sdk\tools\templates\activities"

和最好的解决办法就是更新的SDK 22.2.1版本:)

And the best solution is update SDK to 22.2.1 version :)

这篇关于Android的Eclipse的支持库:需要的版本空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆