Android的配置在Eclipse - SDK preferences想... \\平台,但SDK不来一个 [英] Android Config in Eclipse - SDK Preferences wants ...\Platforms, but SDK doesn't come with one

查看:202
本文介绍了Android的配置在Eclipse - SDK preferences想... \\平台,但SDK不来一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装并按照有关的Eclipse ADT的指示在PC上配置Eclipse伽利略3.52

所有的下载ADT插件的步骤去罚款没有任何错误。但是,当我去一个新的台阶配置ADT插件当我设置我的SDK的位置,他说,它无法找到Android的SDK-WINDOWS \\平台失败。

All the steps in "Downloading the ADT Plugin" go fine with no errors. But when I get to the next step "Configuring the ADT Plugin" it fails when I set my SDK location, saying that it can't find android-sdk-windows\platforms.

但不是开玩笑 - 我使用的是Android的sdk_r06窗口SDK和自述文件说, Android的SDK文档现在只包含了工具,它不再置有一个特定的Andr​​oid平台或谷歌。附加,而是你
使用SDK管理器来安装或更新SDK组件如平台
工具,插件和文档。
的我怎么怎么做呢?我一定要使用SDK的较早版本去与此旧版本的Eclipse?

But no kidding - I'm using the android-sdk_r06-windows SDK and the Readme file says, "The Android SDK archive now only contains the tools. It no longer comes populated with a specific Android platform or Google add-on. Instead you use the SDK Manager to install or update SDK components such as platforms, tools, add-ons, and documentation." How how I do this? Do I have to use an older version of the SDK to go with this older version of Eclipse?

先谢谢了。

要QRohlf:

我试过了。我在命令行中运行它,并得到了同样的错误:

I tried that. I ran it from the command line and got the same error:

[INFO]启动Android SDK和AVD管理器

[INFO] Starting Android SDK and AVD Manager

错误:错误解析SDK

Error: Error parsing the sdk.

错误: C:\\ Documents和Settings \\彼得\\我的文档\\ SW \\ AndroidSDK \\ Android的SDK-WINDOWS \\平台缺少

错误:无法解析SDK含量

Error: Unable to parse SDK content.

平台是缺少,因为它不是在这个版本的SDK包括在内。它是这么说的自述文件中。我想按照原来的职位这意味着这可以从IDE中做的所有链路中的指示,但我不知道应该怎样一步创建平台文件夹。

"platforms" is missing because it's not included in this version of the SDK. It says so in the Readme file. I'm trying to follow the instructions in the link in the original post which imply this can be all done from the IDE but I don't know what step is supposed to create the platforms folder.

这是很有诱惑力的手动创建的文件夹,但我想经书这样做,因为在Eclipse / Android团队打算,因为我正在做一个入门指南对一些学生。

It's tempting to manually create the folder but I want to do this 'by the book' as the Eclipse/Android team intended because I'm making a 'getting started' guide for some students.

推荐答案

我重做我的安装从头开始,但这次我把SDK更高的文件系统 - C:\\的SDK \\ AndroidSDK ....这一次,它很高兴。

I redid my installation from scratch but this time I put the SDK higher in the file system - C:\SDKs\AndroidSDK.... and this time it was happy.

我不知道是否有人具有长路径之间或我和文档或什么空间问题,但这个问题现在已经解决了。

I don't know if it was having a problem with the long pathname or the space between "My" and "Documents" or what, but the issue is now resolved.

这篇关于Android的配置在Eclipse - SDK preferences想... \\平台,但SDK不来一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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