简体   繁体   English

Android SDK和AVD Manager安装

[英]Android SDK and AVD Manager installation

I am new to android development. 我是android开发的新手。

Have tried a couple times downloading the Android SDK and ADT plugin for Eclipse 曾尝试过两次下载Eclipse的Android SDK和ADT插件

In the Android SDK and AVD manager load fine but will not load any available packages. 在Android SDK和AVD管理器中加载正常,但不会加载任何可用的包。 Show: - Android Repository --"Some packages were found but are not compatible updates" 显示: - Android存储库 - “找到了一些包但不兼容的更新”

In the installed it shows 1.5 to 2.3 SDK platforms. 在安装中它显示1.5到2.3 SDK平台。

How to I get them available. 如何让他们可用。

Appreciate help. 感谢帮助。

Thanks, 谢谢,

Alex 亚历克斯

You can use following step: 您可以使用以下步骤:

1.  window  ->  
2.  customize perspective -> 
3.  command group availability tab -> 
4.  on the check box android SDK and AVD manager check it -> 
5.  click on ok

I had the same issue. 我遇到过同样的问题。 Googled arround found nothing, and gues what: It was the a checkbox in the main Android SDK and AVD Manager. 谷歌搜索arround什么也没找到,并且猜到了:它是主Android SDK和AVD Manager中的一个复选框。

  1. Click: available packages 点击:可用套餐
  2. Then select: Android Repository Then you see the "some packages were found but are not compatible updates" message, which is why you created this question. 然后选择:Android Repository然后您会看到“找到了一些包但不兼容的更新”消息,这就是您创建此问题的原因。 On the bottom of the form, you can see: 4 buttons and 1 checkbox. 在表单的底部,您可以看到:4个按钮和1个复选框。

Make sure you Uncheck: "Display updates only" when it is unchecked, you see the whole SDK list with Android 3.2 etc. 确保取消选中:“仅显示更新”,取消选中,您会看到整个SDK列表与Android 3.2等。

Steps for installing Development Environment. 安装开发环境的步骤。

  1. Download Android SDK and Install it. 下载Android SDK并安装它。
  2. Install Android API's for different android versions. 为不同的Android版本安装Android API。 The latest version is Android 2.3. 最新版本是Android 2.3。
  3. Download and Install Eclipse Install ADT plugin. 下载并安装Eclipse Install ADT插件。
  4. Create AVD (Android Virtual Device) for testing the applications. 创建AVD(Android虚拟设备)以测试应用程序。

I think you did not linked your Android SDK folder with Eclipse ADT plugin. 我认为您没有将Android SDK文件夹与Eclipse ADT插件相关联。 Goto Window->Preference->Android browse your Android SDK if you have installed ADT plugin. 如果您已安装ADT插件,转到窗口 - >首选项 - > Android浏览您的Android SDK。

There are many resources available online. 网上有很多资源。 Here is a blog post where you find some good links to resources which help you in installing Android Development Environment. 这是一篇博客文章,您可以在其中找到一些有助于您安装Android开发环境的资源的良好链接。

Getting Started with Android Android入门

If you still didn't able to do it. 如果你仍然无法做到这一点。 Let me know your specific problem, where you got struck. 让我知道你遇到的具体问题。

I think there is already an answer that probably works for most people (unchecking the box), but since that did not work for this install I have on Linux Mint, this did work: (not my website) http://blog.netscribe.us/blog/post/Step-by-Step-Guide-on-How-to-Install-Android-SDK-Offline-%28not-completely-offline%29.aspx 我认为已经有一个答案可能适用于大多数人(取消选中该框),但由于这对我在Linux Mint上的安装不起作用,这确实有效:(不是我的网站) http://blog.netscribe页面没有自动跳转/博客/后/的Step-by-步指南上-如何安装的,Android的SDK-Offline-%28not,完全脱机%29.aspx

Basically, download the zip for the package you want and extract it to /platforms/. 基本上,下载所需包的zip并将其解压缩到/ platforms /。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM