- 浏览: 57011 次
- 性别:
- 来自: 上海
文章分类
最新评论
-
luozhong915127:
呵呵额,有点功夫。
【贪吃蛇—Java程序员写Android游戏】系列 3. 用J2ME实现Android的Snake Sample详解 -
zhy4013:
我是刚刚接触安卓,我也不知道google-market_lic ...
Android SDK 2.3与Eclipse最新版开发环境搭建(一) -
deaboway:
zhy4013 写道LZ,我按照你说的方式手动下载,现在就go ...
Android SDK 2.3与Eclipse最新版开发环境搭建(一) -
zhy4013:
LZ,我按照你说的方式手动下载,现在就google-marke ...
Android SDK 2.3与Eclipse最新版开发环境搭建(一) -
qiushily2030:
应该是SDK没有正常的下载
Android SDK 2.3与Eclipse最新版开发环境搭建(一)
一、 背景和准备
1. Android 简介
Android是Google于2007年11月5日宣布的基于Linux平台的开源手机操作系统的名称,该平台由操作系统、中间件、用户界面和应用软件组成,号称是首个为移动终端打造的真正开放和完整的移动软件。可以把它简单理解成Linux上套了一个JAVA的壳。
Android 的平台基本上是免费的,虽然有部份原生链接库会要求费用,但大部份是免权利金。Android 的程序可以采用JAVA开发,因为它的虚拟机(Virtual Machine) Dalvik,只是它将JAVA的bytecode 转成自己的格式,回避掉需要付给SUN 有关JAVA 的授权费用。因此,Android 开发环境是需要JDK的。
2. Android 网络资源
Android的网站是:http://www.android.com/ ,目前还可以登陆,比较悲剧的是:其Partners部分:http://source.android.com/ 和Developers部分:http://developer.android.com/ ,大陆地区已经无法访问。
Android的系统要求请参考:http://androidappdocs.appspot.com/sdk/requirements.html
当前最新版本的Android SDK下载器(真正的SDK还是需要另外下载的),小生是无法直接到官网http://developer.android.com/sdk/index.html 下载的,于是另外找了一个地址http://androidappdocs.appspot.com/sdk/index.html ,下载链接和说明如下:
Android SDK for Windows
android-sdk_r08-windows.zip
http://dl.google.com/android/android-sdk_r08-windows.zip
installer_r08-windows.exe (Recommended)
http://dl.google.com/android/installer_r08-windows.exe
Android SDK for Mac OS X (intel)
android-sdk_r08-mac_86.zip
http://dl.google.com/android/android-sdk_r08-mac_86.zip
Android SDK for Linux (i386)
android-sdk_r08-linux_86.tgz
http://dl.google.com/android/android-sdk_r08-linux_86.tgz
Here's an overview of the steps you must follow to set up the Android SDK:
1. Prepare your development computer and ensure it meets the system requirements.
2. Install the SDK starter package from the table above. (If you're on Windows, download the installer for help with the initial setup.)
3. Install the ADT Plugin for Eclipse (if you'll be developing in Eclipse).
4. Add Android platforms and other components to your SDK.
5. Explore the contents of the Android SDK (optional).
3. 软件包下载
a. JDK 1.6
下载网址: http://www.oracle.com/technetwork/java/javase/downloads/index.html
当前最新版本为Java SE 6 Update 23
小生机器上安装的是:jdk1.6.0_21,也一样用,其实只要你是JDK1.5以上就可以了。
b. Android SDK下载器
下载地址上面已经给出了,可以根据你的系统选择不同的安装包。小生是windows 2003 server,因此下载了http://dl.google.com/android/android-sdk_r08-windows.zip ,之后直接解压缩即可。
c. Eclipse IDE
Eclipse 3.4 (Ganymede)以后版本均可。小生下载了最新版本的Helios (3.6)
二、 JAVA 环境
Windows上配置JAVA环境变量如下:
JAVA_HOME
Path:
三、 Android SDK 安装
Android SDK 可以通过SDK 下载器自动下载和配置,适合网络好,下载速度快的情况下;也可以借助工具下载SDK 文件,手工配置,适合网络不是很好,下载速度慢的情况下。
SDK 下载器自动下载步骤如下:
解压缩android-sdk_r08-windows下载器,并双击运行SDK Manager.exe:
如果你的电脑不支持https连接会看到如下界面:
请选择setting的将Force https://... Sources to be fetched by using http://... 的选项打勾
勾选你想要安装的Packages,并点击Install Selected进行安装:
确认对话框如下,选择Accept All进行下载安装
则Android SDK下载器进入下载安装的过程
根据你网速的情况,下载安装的时间或长或短,请耐心等待。
手动下载步骤如下:
通过分析Android下载器的http://dl-ssl.google.com/android/repository/repository.xml 内容,可以得到如下下载列表(以Windows环境为例):
http://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
http://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
http://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
http://dl-ssl.google.com/android/repository/android-2.1_r02-windows.zip
http://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip
http://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip
http://dl-ssl.google.com/android/repository/platform-tools_r02-windows.zip
http://dl-ssl.google.com/android/repository/tools_r09-windows.zip
http://dl-ssl.google.com/android/repository/docs-Honeycomb_pre_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-Honeycomb_pre_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
请使用下载工具下载到本地,并按如下映射关系解压缩到SDK下载器所在目录,映射关系如下:
android-1.5_r04-windows.zip platforms\android-3
android-1.6_r03-windows.zip platforms\android-4
android-2.0_r01-windows.zip platforms\android-5
android-2.0.1_r01-windows.zip platforms\android-6
android-2.1_r02-windows.zip platforms\android-7
android-2.2_r02-windows.zip platforms\android-8
android-2.3.1_r02-linux.zip platforms\android-9
android-3.0_pre_r01-linux.zip platforms\android-10
platform-tools_r02-windows.zip platforms-tools
tools_r09-windows.zip tools
docs-Honeycomb_pre_r01-linux.zip doc
samples-Honeycomb_pre_r01-linux.zip samples\android-10
samples-2.1_r01-linux.zip samples\android-7
samples-2.2_r01-linux.zip samples\android-8
samples-2.3_r01-linux.zip samples\android-9
如果要安装google api,请分析下图中的地址:http://dl-ssl.google.com/android/repository/addon.xml 下载自己需要的Packages进行解压,方法同1、2
下载列表为:
http://dl-ssl.google.com/android/repository/google_apis-3-r03.zip
http://dl-ssl.google.com/android/repository/google_apis-4_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-5_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-6_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-7_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-9_r02.zip
http://dl-ssl.google.com/android/repository/market_licensing-r01.zip
http://dl-ssl.google.com/android/repository/usb_driver_r04-windows.zip
映射关系为:
google_apis-3-r03.zip add-ons\addon_google_apis_google_inc_3
google_apis-4_r02.zip add-ons\addon_google_apis_google_inc_4
google_apis-5_r01.zip add-ons\addon_google_apis_google_inc_5
google_apis-6_r01.zip add-ons\addon_google_apis_google_inc_6
google_apis-7_r01.zip add-ons\addon_google_apis_google_inc_7
google_apis-8_r02.zip add-ons\addon_google_apis_google_inc_8
google_apis-9_r02.zip add-ons\addon_google_apis_google_inc_9
market_licensing-r01.zip google-market_licensing
usb_driver_r04-windows.zip usb_driver
具体的目录结构如下图:
解压完成后启动一下SDK下载器,检查是否安装成功,如下图:
注:由于小生在写这篇文章的时候,Android 刚出了Android SDK Platform Honeycomb Preview, revision 1 ,但是却没有把android-3.0_pre_r01-linux.zip 放在http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip ,所以暂时无法下载安装这个版本的Android SDK ,但不影响SDK 使用。请各位自行下载安装。
可能最新版本的没有google-market_licensing,或者改名了呢。
我不是很确定。
你一定要google-market_licensing这个包吗?
Android SDK直接解压缩就可以了。不需要安装。
呵呵,是的
我在按照手动模式搭配
Android SDK直接解压缩就可以了。不需要安装。
刚刚试了下:我这里倒是可以访问的。
要么你找个镜像站点试试。
这里帮你copy份当前最新的list:
<!--
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
--><sdk:sdk-repository><sdk:license type="text" id="android-sdk-license">
This is the Android Software Development Kit License Agreement.
1. Introduction
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
2. Accepting this License Agreement
2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement.
2.2 You can accept this License Agreement by:
(A) clicking to accept or agree to this License Agreement, where this option is made available to you; or
(B) by actually using the SDK. In this case, you agree that use of the SDK constitutes acceptance of the Licensing Agreement from that point onwards.
2.3 You may not use the SDK and may not accept the Licensing Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the Licensing Agreement or use the SDK on behalf of your employer or other entity.
3. SDK License from Google
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non- assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.3 Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. Except to the extent required by applicable third party licenses, you may not load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
3.4 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
3.5 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
3.6 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
3.7 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
4. Use of the SDK by You
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, your must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Android platform and/or applications for the Android platform, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
5. Your Developer Credentials
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
6. Privacy and Information
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
7. Third Party Applications for the Android Platform
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties.
8. Using Android APIs
8.1 Google Data APIs
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
9. Terminating this License Agreement
9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below.
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
9.3 Google may at any time, terminate this License Agreement with you if:
(A) you have breached any provision of this License Agreement; or
(B) Google is required to do so by law; or
(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
(D) Google decides to no longer providing the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
10. DISCLAIMER OF WARRANTIES
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
11. LIMITATION OF LIABILITY
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
12. Indemnification
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement.
13. Changes to the License Agreement
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
14. General Legal Terms
14.1 This License Agreement constitute the whole legal agreement between you and Google and govern your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the SDK.
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License Agreement is invalid, then that provision will be removed from this License Agreement without affecting the rest of this License Agreement. The remaining provisions of this License Agreement will continue to be valid and enforceable.
14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to this License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to this License Agreement.
14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
14.6 The rights granted in this License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under this License Agreement without the prior written approval of the other party.
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
April 10, 2009
</sdk:license><sdk:platform><sdk:version>1.1</sdk:version><sdk:api-level>2</sdk:api-level><sdk:revision>1</sdk:revision><sdk:description>Android SDK Platform 1.1_r1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-1.1.html</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="windows" arch="any"><sdk:size>46828615</sdk:size><sdk:checksum type="sha1">a4060f29ed39fc929c302836d488998c53c3002e</sdk:checksum><sdk:url>android-1.1_r1-windows.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>45584305</sdk:size><sdk:checksum type="sha1">e21dbcff45b7356657449ebb3c7e941be2bb5ebe</sdk:checksum><sdk:url>android-1.1_r1-macosx.zip</sdk:url></sdk:archive><sdk:archive os="linux" arch="any"><sdk:size>45476658</sdk:size><sdk:checksum type="sha1">c054d25c9b4c6251fa49c2f9c54336998679d3fe</sdk:checksum><sdk:url>android-1.1_r1-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated manually from earlier versions --><sdk:platform><sdk:version>1.5</sdk:version><sdk:api-level>3</sdk:api-level><sdk:revision>04</sdk:revision><sdk:min-tools-rev>6</sdk:min-tools-rev><sdk:description>Android SDK Platform 1.5_r3</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-1.5.html</sdk:desc-url><sdk:archives><sdk:archive os="windows" arch="any"><sdk:size>54624370</sdk:size><sdk:checksum type="sha1">5bb106d2e40d481edd337b0833093843e15fe49a</sdk:checksum><sdk:url>android-1.5_r04-windows.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>52440607</sdk:size><sdk:checksum type="sha1">d3a67c2369afa48b6c3c7624de5031c262018d1e</sdk:checksum><sdk:url>android-1.5_r04-macosx.zip</sdk:url></sdk:archive><sdk:archive os="linux" arch="any"><sdk:size>53348669</sdk:size><sdk:checksum type="sha1">5c134b7df5f4b8bd5b61ba93bdaebada8fa3468c</sdk:checksum><sdk:url>android-1.5_r04-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><sdk:platform><sdk:version>1.6</sdk:version><sdk:api-level>4</sdk:api-level><sdk:codename/><sdk:revision>03</sdk:revision><sdk:min-tools-rev>6</sdk:min-tools-rev><sdk:description>Android SDK Platform 1.6_r2</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-1.6.html</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>63454485</sdk:size><sdk:checksum type="sha1">483ed088e45bbdf3444baaf9250c8b02e5383cb0</sdk:checksum><sdk:url>android-1.6_r03-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>62418496</sdk:size><sdk:checksum type="sha1">bdafad44f5df9f127979bdb21a1fdd87ee3cd625</sdk:checksum><sdk:url>android-1.6_r03-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>64654625</sdk:size><sdk:checksum type="sha1">ce0b5e4ffaf12ca4fd07c2da71a8a1ab4a03dc22</sdk:checksum><sdk:url>android-1.6_r03-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Thu Oct 22 10:16:34 PDT 2009 using eclair-sdk 17704: Platform. Addon. Tools. Doc. --><sdk:platform><sdk:version>2.0</sdk:version><sdk:api-level>5</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:min-tools-rev>3</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.0, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-2.0.html</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>75095268</sdk:size><sdk:checksum type="sha1">be9be6a99ca32875c96ec7f91160ca9fce7e3c7d</sdk:checksum><sdk:url>android-2.0_r01-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>74956356</sdk:size><sdk:checksum type="sha1">2a866d0870dbba18e0503cd41e5fae988a21b314</sdk:checksum><sdk:url>android-2.0_r01-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>76288040</sdk:size><sdk:checksum type="sha1">aeb623217ff88b87216d6eb7dbc846ed53f68f57</sdk:checksum><sdk:url>android-2.0_r01-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Mon Nov 23 14:08:02 PST 2009 using eclair-release 20723: Platform. Addon. --><sdk:platform><sdk:version>2.0.1</sdk:version><sdk:api-level>6</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:min-tools-rev>4</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.0.1_r1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-2.0.1.html</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>79192618</sdk:size><sdk:checksum type="sha1">ce2c971dce352aa28af06bda92a070116aa5ae1a</sdk:checksum><sdk:url>android-2.0.1_r01-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>79035527</sdk:size><sdk:checksum type="sha1">c3096f80d75a6fc8cb38ef8a18aec920e53d42c0</sdk:checksum><sdk:url>android-2.0.1_r01-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>80385601</sdk:size><sdk:checksum type="sha1">255781ebe4509d9707d0e77edda2815e2bc216e6</sdk:checksum><sdk:url>android-2.0.1_r01-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Thu May 6 15:57:41 PDT 2010 using eclair 35983: Platform. --><sdk:platform><sdk:version>2.1</sdk:version><sdk:api-level>7</sdk:api-level><sdk:codename/><sdk:revision>02</sdk:revision><sdk:min-tools-rev>6</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.1_r2</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>72356359</sdk:size><sdk:checksum type="sha1">a89d32ddf9d8629f15e682bdf220a88ca2392349</sdk:checksum><sdk:url>android-2.1_r02-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>71054909</sdk:size><sdk:checksum type="sha1">8492e2f0b61819c4ca2e16601fc3260b341a3f06</sdk:checksum><sdk:url>android-2.1_r02-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>72950641</sdk:size><sdk:checksum type="sha1">00cfb0bbbf24fc56c493990186deb0bfd44630e5</sdk:checksum><sdk:url>android-2.1_r02-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Wed Jun 30 16:13:06 PDT 2010 using froyo-release 43546: Platform. Addon. --><sdk:platform><sdk:version>2.2</sdk:version><sdk:api-level>8</sdk:api-level><sdk:codename/><sdk:revision>02</sdk:revision><sdk:description>Android SDK Platform 2.2_r1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>76884517</sdk:size><sdk:checksum type="sha1">70b841b828e0db73eb58fc76f480e78783fd5bfc</sdk:checksum><sdk:url>android-2.2_r02-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>75048163</sdk:size><sdk:checksum type="sha1">e40838cc805fbfea76f62b42d4749f0ca549a058</sdk:checksum><sdk:url>android-2.2_r02-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>77478546</sdk:size><sdk:checksum type="sha1">e80ddc2f8f9929bc8d46bc579be86d43317adb57</sdk:checksum><sdk:url>android-2.2_r02-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Mon Feb 22 13:39:38 PST 2010 using eclair 25887: Samples. --><sdk:sample><sdk:api-level>7</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 7, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>7677831</sdk:size><sdk:checksum type="sha1">51e4907f60f248ede5c58b54ce7b6ae0b473e0ca</sdk:checksum><sdk:url>samples-2.1_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Tue May 11 19:15:20 PDT 2010 using froyo 36658: Samples. --><sdk:sample><sdk:api-level>8</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 8, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>7969716</sdk:size><sdk:checksum type="sha1">d16d8bf2dd84cedf73b98b948d66461c8f19d6fb</sdk:checksum><sdk:url>samples-2.2_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Tue Nov 30 19:39:34 PST 2010 using gingerbread 79962: Samples. --><sdk:sample><sdk:api-level>9</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 9, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>8516326</sdk:size><sdk:checksum type="sha1">36f7dd6c8b5dbb50b3cf3e3ac5209f3fe55db2aa</sdk:checksum><sdk:url>samples-2.3_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Thu Jan 20 09:40:59 PST 2011 using gingerbread-sdk-release 93351: Platform. --><sdk:platform><sdk:version>2.3.1</sdk:version><sdk:api-level>9</sdk:api-level><sdk:codename/><sdk:revision>02</sdk:revision><sdk:min-tools-rev>8</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.3.1_r2</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>78732563</sdk:size><sdk:checksum type="sha1">209f8a7a8b2cb093fce858b8b55fed3ba5206773</sdk:checksum><sdk:url>android-2.3.1_r02-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Fri Feb 4 16:41:27 PST 2011 using gingerbread-release 101070: Platform. --><sdk:platform><sdk:version>2.3.3</sdk:version><sdk:api-level>10</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:min-tools-rev>8</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.3.3._r1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>82203231</sdk:size><sdk:checksum type="sha1">1c118521c77357e416f2b9c21c6080e208aade32</sdk:checksum><sdk:url>android-2.3.3_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Tue Feb 8 17:37:15 PST 2011 using gingerbread 102121: Samples. --><sdk:sample><sdk:api-level>10</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 10, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>8539583</sdk:size><sdk:checksum type="sha1">93b0c3f3bdf5b07f1f115100b4954f0665297a0d</sdk:checksum><sdk:url>samples-2.3.3_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Thu Feb 17 08:41:10 PST 2011 using honeycomb 104254: Platform. --><sdk:platform><sdk:version>3.0</sdk:version><sdk:api-level>11</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:min-tools-rev>10</sdk:min-tools-rev><sdk:description>Android SDK Platform 3.0, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>104492296</sdk:size><sdk:checksum type="sha1">8a51102aac58d1569adc08c31fde74f36a8ee17e</sdk:checksum><sdk:url>android-3.0_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Thu Feb 17 08:42:19 PST 2011 using honeycomb 104254: Platform-Tools. --><sdk:platform-tool><sdk:revision>03</sdk:revision><sdk:description>Android SDK Platform-tools, revision 3</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>8858136</sdk:size><sdk:checksum type="sha1">a29aaefcfd12802802b1994292e28308581628a7</sdk:checksum><sdk:url>platform-tools_r03-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>8095155</sdk:size><sdk:checksum type="sha1">b73732110ecfea10eaeb74767ff3c5155f586df9</sdk:checksum><sdk:url>platform-tools_r03-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>9738295</sdk:size><sdk:checksum type="sha1">10825943b9a6a9ed0e2e64e463799fafadf0929a</sdk:checksum><sdk:url>platform-tools_r03-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform-tool><!-- Generated on Thu Feb 17 08:44:17 PST 2011 using open_tools_r10 104271: Tools. --><sdk:tool><sdk:revision>10</sdk:revision><sdk:min-platform-tools-rev>3</sdk:min-platform-tools-rev><sdk:description>Android SDK Tools, revision 10</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>26973299</sdk:size><sdk:checksum type="sha1">60a25881a1221eb3d47d893c311fae22d89f5e02</sdk:checksum><sdk:url>tools_r10-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>28843530</sdk:size><sdk:checksum type="sha1">0090c6a90d896fc18508cf945e8c8be6064d9c6e</sdk:checksum><sdk:url>tools_r10-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>32786483</sdk:size><sdk:checksum type="sha1">bd3fb8472f73dd92faec60c81825486a4d6fdd1b</sdk:checksum><sdk:url>tools_r10-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:tool><!-- Generated on Thu Feb 17 08:45:49 PST 2011 using honeycomb 104254: Samples. --><sdk:sample><sdk:api-level>11</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 11, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>11976920</sdk:size><sdk:checksum type="sha1">3749ace584631270268d65bb1d0ad61b0d691682</sdk:checksum><sdk:url>samples-3.0_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Fri Feb 18 13:45:02 PST 2011 using honeycomb 104644: Doc. --><sdk:doc><sdk:api-level>11</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Docs for Android API 11, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>101490699</sdk:size><sdk:checksum type="sha1">856b7c6b014c7d26753155f46905b9924fe8d92e</sdk:checksum><sdk:url>docs-3.0_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:doc><!-- manual package --><sdk:extra><sdk:vendor>android</sdk:vendor><sdk:path>compatibility</sdk:path><sdk:revision>1</sdk:revision><sdk:description>Compatibility libraries, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>2641201</sdk:size><sdk:checksum type="sha1">659050b6b417596843da1dac4320017edc1bd4d3</sdk:checksum><sdk:url>compatibility_r01.zip</sdk:url></sdk:archive></sdk:archives></sdk:extra></sdk:sdk-repository>
更更悲剧的是,这个地址也被墙了
http://androidappdocs.appspot.com/sdk/index.html
1. Android 简介
Android是Google于2007年11月5日宣布的基于Linux平台的开源手机操作系统的名称,该平台由操作系统、中间件、用户界面和应用软件组成,号称是首个为移动终端打造的真正开放和完整的移动软件。可以把它简单理解成Linux上套了一个JAVA的壳。
Android 的平台基本上是免费的,虽然有部份原生链接库会要求费用,但大部份是免权利金。Android 的程序可以采用JAVA开发,因为它的虚拟机(Virtual Machine) Dalvik,只是它将JAVA的bytecode 转成自己的格式,回避掉需要付给SUN 有关JAVA 的授权费用。因此,Android 开发环境是需要JDK的。
2. Android 网络资源
Android的网站是:http://www.android.com/ ,目前还可以登陆,比较悲剧的是:其Partners部分:http://source.android.com/ 和Developers部分:http://developer.android.com/ ,大陆地区已经无法访问。
Android的系统要求请参考:http://androidappdocs.appspot.com/sdk/requirements.html
当前最新版本的Android SDK下载器(真正的SDK还是需要另外下载的),小生是无法直接到官网http://developer.android.com/sdk/index.html 下载的,于是另外找了一个地址http://androidappdocs.appspot.com/sdk/index.html ,下载链接和说明如下:
Android SDK for Windows
android-sdk_r08-windows.zip
http://dl.google.com/android/android-sdk_r08-windows.zip
installer_r08-windows.exe (Recommended)
http://dl.google.com/android/installer_r08-windows.exe
Android SDK for Mac OS X (intel)
android-sdk_r08-mac_86.zip
http://dl.google.com/android/android-sdk_r08-mac_86.zip
Android SDK for Linux (i386)
android-sdk_r08-linux_86.tgz
http://dl.google.com/android/android-sdk_r08-linux_86.tgz
Here's an overview of the steps you must follow to set up the Android SDK:
1. Prepare your development computer and ensure it meets the system requirements.
2. Install the SDK starter package from the table above. (If you're on Windows, download the installer for help with the initial setup.)
3. Install the ADT Plugin for Eclipse (if you'll be developing in Eclipse).
4. Add Android platforms and other components to your SDK.
5. Explore the contents of the Android SDK (optional).
3. 软件包下载
a. JDK 1.6
下载网址: http://www.oracle.com/technetwork/java/javase/downloads/index.html
当前最新版本为Java SE 6 Update 23
小生机器上安装的是:jdk1.6.0_21,也一样用,其实只要你是JDK1.5以上就可以了。
b. Android SDK下载器
下载地址上面已经给出了,可以根据你的系统选择不同的安装包。小生是windows 2003 server,因此下载了http://dl.google.com/android/android-sdk_r08-windows.zip ,之后直接解压缩即可。
c. Eclipse IDE
Eclipse 3.4 (Ganymede)以后版本均可。小生下载了最新版本的Helios (3.6)
二、 JAVA 环境
Windows上配置JAVA环境变量如下:
JAVA_HOME
Path:
三、 Android SDK 安装
Android SDK 可以通过SDK 下载器自动下载和配置,适合网络好,下载速度快的情况下;也可以借助工具下载SDK 文件,手工配置,适合网络不是很好,下载速度慢的情况下。
SDK 下载器自动下载步骤如下:
解压缩android-sdk_r08-windows下载器,并双击运行SDK Manager.exe:
如果你的电脑不支持https连接会看到如下界面:
请选择setting的将Force https://... Sources to be fetched by using http://... 的选项打勾
勾选你想要安装的Packages,并点击Install Selected进行安装:
确认对话框如下,选择Accept All进行下载安装
则Android SDK下载器进入下载安装的过程
根据你网速的情况,下载安装的时间或长或短,请耐心等待。
手动下载步骤如下:
通过分析Android下载器的http://dl-ssl.google.com/android/repository/repository.xml 内容,可以得到如下下载列表(以Windows环境为例):
http://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
http://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
http://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
http://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
http://dl-ssl.google.com/android/repository/android-2.1_r02-windows.zip
http://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip
http://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip
http://dl-ssl.google.com/android/repository/platform-tools_r02-windows.zip
http://dl-ssl.google.com/android/repository/tools_r09-windows.zip
http://dl-ssl.google.com/android/repository/docs-Honeycomb_pre_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-Honeycomb_pre_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
请使用下载工具下载到本地,并按如下映射关系解压缩到SDK下载器所在目录,映射关系如下:
android-1.5_r04-windows.zip platforms\android-3
android-1.6_r03-windows.zip platforms\android-4
android-2.0_r01-windows.zip platforms\android-5
android-2.0.1_r01-windows.zip platforms\android-6
android-2.1_r02-windows.zip platforms\android-7
android-2.2_r02-windows.zip platforms\android-8
android-2.3.1_r02-linux.zip platforms\android-9
android-3.0_pre_r01-linux.zip platforms\android-10
platform-tools_r02-windows.zip platforms-tools
tools_r09-windows.zip tools
docs-Honeycomb_pre_r01-linux.zip doc
samples-Honeycomb_pre_r01-linux.zip samples\android-10
samples-2.1_r01-linux.zip samples\android-7
samples-2.2_r01-linux.zip samples\android-8
samples-2.3_r01-linux.zip samples\android-9
如果要安装google api,请分析下图中的地址:http://dl-ssl.google.com/android/repository/addon.xml 下载自己需要的Packages进行解压,方法同1、2
下载列表为:
http://dl-ssl.google.com/android/repository/google_apis-3-r03.zip
http://dl-ssl.google.com/android/repository/google_apis-4_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-5_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-6_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-7_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
http://dl-ssl.google.com/android/repository/google_apis-9_r02.zip
http://dl-ssl.google.com/android/repository/market_licensing-r01.zip
http://dl-ssl.google.com/android/repository/usb_driver_r04-windows.zip
映射关系为:
google_apis-3-r03.zip add-ons\addon_google_apis_google_inc_3
google_apis-4_r02.zip add-ons\addon_google_apis_google_inc_4
google_apis-5_r01.zip add-ons\addon_google_apis_google_inc_5
google_apis-6_r01.zip add-ons\addon_google_apis_google_inc_6
google_apis-7_r01.zip add-ons\addon_google_apis_google_inc_7
google_apis-8_r02.zip add-ons\addon_google_apis_google_inc_8
google_apis-9_r02.zip add-ons\addon_google_apis_google_inc_9
market_licensing-r01.zip google-market_licensing
usb_driver_r04-windows.zip usb_driver
具体的目录结构如下图:
解压完成后启动一下SDK下载器,检查是否安装成功,如下图:
注:由于小生在写这篇文章的时候,Android 刚出了Android SDK Platform Honeycomb Preview, revision 1 ,但是却没有把android-3.0_pre_r01-linux.zip 放在http://dl-ssl.google.com/android/repository/android-3.0_pre_r01-linux.zip ,所以暂时无法下载安装这个版本的Android SDK ,但不影响SDK 使用。请各位自行下载安装。
评论
23 楼
zhy4013
2011-06-10
我是刚刚接触安卓,我也不知道google-market_licensing这个是用来干嘛的,现在不去管这个包了。已经搞定开发环境了,谢谢LZ。
22 楼
deaboway
2011-06-09
zhy4013 写道
LZ,我按照你说的方式手动下载,现在就google-market_licensing没安装成功。在Installed packages中没看到google-market_licensing,其他的都可以。我的文件夹名称是google-market_licensing。请问下这个要怎么弄?
可能最新版本的没有google-market_licensing,或者改名了呢。
我不是很确定。
你一定要google-market_licensing这个包吗?
21 楼
zhy4013
2011-06-09
LZ,我按照你说的方式手动下载,现在就google-market_licensing没安装成功。在Installed packages中没看到google-market_licensing,其他的都可以。我的文件夹名称是google-market_licensing。请问下这个要怎么弄?
20 楼
qiushily2030
2011-06-03
应该是SDK没有正常的下载
19 楼
qiushily2030
2011-06-03
jdk1.5 + eclipse3.5 + ADT-8.0.0.zip + SDK3.0(android-12包中) 无法兼容
window-->preferences SDK Location指定:D:\android\android-sdk-windows 一直是红XX
谁知道 告诉我....正确的配置
window-->preferences SDK Location指定:D:\android\android-sdk-windows 一直是红XX
谁知道 告诉我....正确的配置
18 楼
Ethip
2011-05-23
很犀利!!
17 楼
yye_javaeye
2011-05-19
安装后运行avd时弹出个dos窗口:error loading preferences,不知是何原因?
16 楼
skydream
2011-04-26
http://android.toolib.net/sdk/index.html
android sdk可以从这里下载,速度还很不错!
恩,希望不要也被墙了。
android sdk可以从这里下载,速度还很不错!
恩,希望不要也被墙了。
15 楼
116427
2011-04-26
deaboway 写道
116427 写道
写的是个什么啊
一点条理性都没有
Android SDK安装目录在哪都不知道
一点条理性都没有
Android SDK安装目录在哪都不知道
Android SDK直接解压缩就可以了。不需要安装。
呵呵,是的
我在按照手动模式搭配
14 楼
deaboway
2011-04-26
116427 写道
写的是个什么啊
一点条理性都没有
Android SDK安装目录在哪都不知道
一点条理性都没有
Android SDK安装目录在哪都不知道
Android SDK直接解压缩就可以了。不需要安装。
13 楼
116427
2011-04-26
写的是个什么啊
一点条理性都没有
Android SDK安装目录在哪都不知道
一点条理性都没有
Android SDK安装目录在哪都不知道
12 楼
yizhl
2011-04-25
我们可以F墙或代L。。网速不是一般的慢,是慢得想死。。联通2M的宽带 连续下载了18小时。。超级无语!
11 楼
deaboway
2011-04-25
fhjxp 写道
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect
还是没有办法下载安装sdk。
还是没有办法下载安装sdk。
刚刚试了下:我这里倒是可以访问的。
要么你找个镜像站点试试。
这里帮你copy份当前最新的list:
引用
<!--
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
--><sdk:sdk-repository><sdk:license type="text" id="android-sdk-license">
This is the Android Software Development Kit License Agreement.
1. Introduction
1.1 The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
2. Accepting this License Agreement
2.1 In order to use the SDK, you must first agree to this License Agreement. You may not use the SDK if you do not accept this License Agreement.
2.2 You can accept this License Agreement by:
(A) clicking to accept or agree to this License Agreement, where this option is made available to you; or
(B) by actually using the SDK. In this case, you agree that use of the SDK constitutes acceptance of the Licensing Agreement from that point onwards.
2.3 You may not use the SDK and may not accept the Licensing Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries including the country in which you are resident or from which you use the SDK.
2.4 If you are agreeing to be bound by this License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to this License Agreement. If you do not have the requisite authority, you may not accept the Licensing Agreement or use the SDK on behalf of your employer or other entity.
3. SDK License from Google
3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non- assignable and non-exclusive license to use the SDK solely to develop applications to run on the Android platform.
3.2 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
3.3 Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. Except to the extent required by applicable third party licenses, you may not load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
3.4 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not this License Agreement.
3.5 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
3.6 Nothing in this License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
3.7 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
4. Use of the SDK by You
4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under this License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) this License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, your must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through the Android platform and/or applications for the Android platform, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under this License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
5. Your Developer Credentials
5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
6. Privacy and Information
6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
7. Third Party Applications for the Android Platform
7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, this License Agreement does not affect your legal relationship with these third parties.
8. Using Android APIs
8.1 Google Data APIs
8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
9. Terminating this License Agreement
9.1 This License Agreement will continue to apply until terminated by either you or Google as set out below.
9.2 If you want to terminate this License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
9.3 Google may at any time, terminate this License Agreement with you if:
(A) you have breached any provision of this License Agreement; or
(B) Google is required to do so by law; or
(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
(D) Google decides to no longer providing the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
9.4 When this License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst this License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
10. DISCLAIMER OF WARRANTIES
10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
11. LIMITATION OF LIABILITY
11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
12. Indemnification
12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with this License Agreement.
13. Changes to the License Agreement
13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
14. General Legal Terms
14.1 This License Agreement constitute the whole legal agreement between you and Google and govern your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replace any prior agreements between you and Google in relation to the SDK.
14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in this License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of this License Agreement is invalid, then that provision will be removed from this License Agreement without affecting the rest of this License Agreement. The remaining provisions of this License Agreement will continue to be valid and enforceable.
14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to this License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of this License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to this License Agreement.
14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
14.6 The rights granted in this License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under this License Agreement without the prior written approval of the other party.
14.7 This License Agreement, and your relationship with Google under this License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from this License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
April 10, 2009
</sdk:license><sdk:platform><sdk:version>1.1</sdk:version><sdk:api-level>2</sdk:api-level><sdk:revision>1</sdk:revision><sdk:description>Android SDK Platform 1.1_r1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-1.1.html</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="windows" arch="any"><sdk:size>46828615</sdk:size><sdk:checksum type="sha1">a4060f29ed39fc929c302836d488998c53c3002e</sdk:checksum><sdk:url>android-1.1_r1-windows.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>45584305</sdk:size><sdk:checksum type="sha1">e21dbcff45b7356657449ebb3c7e941be2bb5ebe</sdk:checksum><sdk:url>android-1.1_r1-macosx.zip</sdk:url></sdk:archive><sdk:archive os="linux" arch="any"><sdk:size>45476658</sdk:size><sdk:checksum type="sha1">c054d25c9b4c6251fa49c2f9c54336998679d3fe</sdk:checksum><sdk:url>android-1.1_r1-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated manually from earlier versions --><sdk:platform><sdk:version>1.5</sdk:version><sdk:api-level>3</sdk:api-level><sdk:revision>04</sdk:revision><sdk:min-tools-rev>6</sdk:min-tools-rev><sdk:description>Android SDK Platform 1.5_r3</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-1.5.html</sdk:desc-url><sdk:archives><sdk:archive os="windows" arch="any"><sdk:size>54624370</sdk:size><sdk:checksum type="sha1">5bb106d2e40d481edd337b0833093843e15fe49a</sdk:checksum><sdk:url>android-1.5_r04-windows.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>52440607</sdk:size><sdk:checksum type="sha1">d3a67c2369afa48b6c3c7624de5031c262018d1e</sdk:checksum><sdk:url>android-1.5_r04-macosx.zip</sdk:url></sdk:archive><sdk:archive os="linux" arch="any"><sdk:size>53348669</sdk:size><sdk:checksum type="sha1">5c134b7df5f4b8bd5b61ba93bdaebada8fa3468c</sdk:checksum><sdk:url>android-1.5_r04-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><sdk:platform><sdk:version>1.6</sdk:version><sdk:api-level>4</sdk:api-level><sdk:codename/><sdk:revision>03</sdk:revision><sdk:min-tools-rev>6</sdk:min-tools-rev><sdk:description>Android SDK Platform 1.6_r2</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-1.6.html</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>63454485</sdk:size><sdk:checksum type="sha1">483ed088e45bbdf3444baaf9250c8b02e5383cb0</sdk:checksum><sdk:url>android-1.6_r03-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>62418496</sdk:size><sdk:checksum type="sha1">bdafad44f5df9f127979bdb21a1fdd87ee3cd625</sdk:checksum><sdk:url>android-1.6_r03-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>64654625</sdk:size><sdk:checksum type="sha1">ce0b5e4ffaf12ca4fd07c2da71a8a1ab4a03dc22</sdk:checksum><sdk:url>android-1.6_r03-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Thu Oct 22 10:16:34 PDT 2009 using eclair-sdk 17704: Platform. Addon. Tools. Doc. --><sdk:platform><sdk:version>2.0</sdk:version><sdk:api-level>5</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:min-tools-rev>3</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.0, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-2.0.html</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>75095268</sdk:size><sdk:checksum type="sha1">be9be6a99ca32875c96ec7f91160ca9fce7e3c7d</sdk:checksum><sdk:url>android-2.0_r01-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>74956356</sdk:size><sdk:checksum type="sha1">2a866d0870dbba18e0503cd41e5fae988a21b314</sdk:checksum><sdk:url>android-2.0_r01-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>76288040</sdk:size><sdk:checksum type="sha1">aeb623217ff88b87216d6eb7dbc846ed53f68f57</sdk:checksum><sdk:url>android-2.0_r01-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Mon Nov 23 14:08:02 PST 2009 using eclair-release 20723: Platform. Addon. --><sdk:platform><sdk:version>2.0.1</sdk:version><sdk:api-level>6</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:min-tools-rev>4</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.0.1_r1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/android-2.0.1.html</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>79192618</sdk:size><sdk:checksum type="sha1">ce2c971dce352aa28af06bda92a070116aa5ae1a</sdk:checksum><sdk:url>android-2.0.1_r01-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>79035527</sdk:size><sdk:checksum type="sha1">c3096f80d75a6fc8cb38ef8a18aec920e53d42c0</sdk:checksum><sdk:url>android-2.0.1_r01-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>80385601</sdk:size><sdk:checksum type="sha1">255781ebe4509d9707d0e77edda2815e2bc216e6</sdk:checksum><sdk:url>android-2.0.1_r01-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Thu May 6 15:57:41 PDT 2010 using eclair 35983: Platform. --><sdk:platform><sdk:version>2.1</sdk:version><sdk:api-level>7</sdk:api-level><sdk:codename/><sdk:revision>02</sdk:revision><sdk:min-tools-rev>6</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.1_r2</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>72356359</sdk:size><sdk:checksum type="sha1">a89d32ddf9d8629f15e682bdf220a88ca2392349</sdk:checksum><sdk:url>android-2.1_r02-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>71054909</sdk:size><sdk:checksum type="sha1">8492e2f0b61819c4ca2e16601fc3260b341a3f06</sdk:checksum><sdk:url>android-2.1_r02-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>72950641</sdk:size><sdk:checksum type="sha1">00cfb0bbbf24fc56c493990186deb0bfd44630e5</sdk:checksum><sdk:url>android-2.1_r02-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Wed Jun 30 16:13:06 PDT 2010 using froyo-release 43546: Platform. Addon. --><sdk:platform><sdk:version>2.2</sdk:version><sdk:api-level>8</sdk:api-level><sdk:codename/><sdk:revision>02</sdk:revision><sdk:description>Android SDK Platform 2.2_r1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>76884517</sdk:size><sdk:checksum type="sha1">70b841b828e0db73eb58fc76f480e78783fd5bfc</sdk:checksum><sdk:url>android-2.2_r02-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>75048163</sdk:size><sdk:checksum type="sha1">e40838cc805fbfea76f62b42d4749f0ca549a058</sdk:checksum><sdk:url>android-2.2_r02-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>77478546</sdk:size><sdk:checksum type="sha1">e80ddc2f8f9929bc8d46bc579be86d43317adb57</sdk:checksum><sdk:url>android-2.2_r02-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Mon Feb 22 13:39:38 PST 2010 using eclair 25887: Samples. --><sdk:sample><sdk:api-level>7</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 7, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>7677831</sdk:size><sdk:checksum type="sha1">51e4907f60f248ede5c58b54ce7b6ae0b473e0ca</sdk:checksum><sdk:url>samples-2.1_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Tue May 11 19:15:20 PDT 2010 using froyo 36658: Samples. --><sdk:sample><sdk:api-level>8</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 8, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>7969716</sdk:size><sdk:checksum type="sha1">d16d8bf2dd84cedf73b98b948d66461c8f19d6fb</sdk:checksum><sdk:url>samples-2.2_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Tue Nov 30 19:39:34 PST 2010 using gingerbread 79962: Samples. --><sdk:sample><sdk:api-level>9</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 9, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>8516326</sdk:size><sdk:checksum type="sha1">36f7dd6c8b5dbb50b3cf3e3ac5209f3fe55db2aa</sdk:checksum><sdk:url>samples-2.3_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Thu Jan 20 09:40:59 PST 2011 using gingerbread-sdk-release 93351: Platform. --><sdk:platform><sdk:version>2.3.1</sdk:version><sdk:api-level>9</sdk:api-level><sdk:codename/><sdk:revision>02</sdk:revision><sdk:min-tools-rev>8</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.3.1_r2</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:obsolete/><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>78732563</sdk:size><sdk:checksum type="sha1">209f8a7a8b2cb093fce858b8b55fed3ba5206773</sdk:checksum><sdk:url>android-2.3.1_r02-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Fri Feb 4 16:41:27 PST 2011 using gingerbread-release 101070: Platform. --><sdk:platform><sdk:version>2.3.3</sdk:version><sdk:api-level>10</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:min-tools-rev>8</sdk:min-tools-rev><sdk:description>Android SDK Platform 2.3.3._r1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>82203231</sdk:size><sdk:checksum type="sha1">1c118521c77357e416f2b9c21c6080e208aade32</sdk:checksum><sdk:url>android-2.3.3_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Tue Feb 8 17:37:15 PST 2011 using gingerbread 102121: Samples. --><sdk:sample><sdk:api-level>10</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 10, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>8539583</sdk:size><sdk:checksum type="sha1">93b0c3f3bdf5b07f1f115100b4954f0665297a0d</sdk:checksum><sdk:url>samples-2.3.3_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Thu Feb 17 08:41:10 PST 2011 using honeycomb 104254: Platform. --><sdk:platform><sdk:version>3.0</sdk:version><sdk:api-level>11</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:min-tools-rev>10</sdk:min-tools-rev><sdk:description>Android SDK Platform 3.0, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>104492296</sdk:size><sdk:checksum type="sha1">8a51102aac58d1569adc08c31fde74f36a8ee17e</sdk:checksum><sdk:url>android-3.0_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform><!-- Generated on Thu Feb 17 08:42:19 PST 2011 using honeycomb 104254: Platform-Tools. --><sdk:platform-tool><sdk:revision>03</sdk:revision><sdk:description>Android SDK Platform-tools, revision 3</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>8858136</sdk:size><sdk:checksum type="sha1">a29aaefcfd12802802b1994292e28308581628a7</sdk:checksum><sdk:url>platform-tools_r03-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>8095155</sdk:size><sdk:checksum type="sha1">b73732110ecfea10eaeb74767ff3c5155f586df9</sdk:checksum><sdk:url>platform-tools_r03-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>9738295</sdk:size><sdk:checksum type="sha1">10825943b9a6a9ed0e2e64e463799fafadf0929a</sdk:checksum><sdk:url>platform-tools_r03-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:platform-tool><!-- Generated on Thu Feb 17 08:44:17 PST 2011 using open_tools_r10 104271: Tools. --><sdk:tool><sdk:revision>10</sdk:revision><sdk:min-platform-tools-rev>3</sdk:min-platform-tools-rev><sdk:description>Android SDK Tools, revision 10</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="linux" arch="any"><sdk:size>26973299</sdk:size><sdk:checksum type="sha1">60a25881a1221eb3d47d893c311fae22d89f5e02</sdk:checksum><sdk:url>tools_r10-linux.zip</sdk:url></sdk:archive><sdk:archive os="macosx" arch="any"><sdk:size>28843530</sdk:size><sdk:checksum type="sha1">0090c6a90d896fc18508cf945e8c8be6064d9c6e</sdk:checksum><sdk:url>tools_r10-macosx.zip</sdk:url></sdk:archive><sdk:archive os="windows" arch="any"><sdk:size>32786483</sdk:size><sdk:checksum type="sha1">bd3fb8472f73dd92faec60c81825486a4d6fdd1b</sdk:checksum><sdk:url>tools_r10-windows.zip</sdk:url></sdk:archive></sdk:archives></sdk:tool><!-- Generated on Thu Feb 17 08:45:49 PST 2011 using honeycomb 104254: Samples. --><sdk:sample><sdk:api-level>11</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Samples for Android API 11, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>11976920</sdk:size><sdk:checksum type="sha1">3749ace584631270268d65bb1d0ad61b0d691682</sdk:checksum><sdk:url>samples-3.0_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:sample><!-- Generated on Fri Feb 18 13:45:02 PST 2011 using honeycomb 104644: Doc. --><sdk:doc><sdk:api-level>11</sdk:api-level><sdk:codename/><sdk:revision>01</sdk:revision><sdk:description>Android SDK Docs for Android API 11, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/sdk/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>101490699</sdk:size><sdk:checksum type="sha1">856b7c6b014c7d26753155f46905b9924fe8d92e</sdk:checksum><sdk:url>docs-3.0_r01-linux.zip</sdk:url></sdk:archive></sdk:archives></sdk:doc><!-- manual package --><sdk:extra><sdk:vendor>android</sdk:vendor><sdk:path>compatibility</sdk:path><sdk:revision>1</sdk:revision><sdk:description>Compatibility libraries, revision 1</sdk:description><sdk:desc-url>http://developer.android.com/</sdk:desc-url><sdk:archives><sdk:archive os="any" arch="any"><sdk:size>2641201</sdk:size><sdk:checksum type="sha1">659050b6b417596843da1dac4320017edc1bd4d3</sdk:checksum><sdk:url>compatibility_r01.zip</sdk:url></sdk:archive></sdk:archives></sdk:extra></sdk:sdk-repository>
10 楼
fhjxp
2011-04-25
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect
还是没有办法下载安装sdk。
还是没有办法下载安装sdk。
9 楼
huqing2010
2011-04-12
搞 定安装
8 楼
napoleonshow
2011-04-12
很好哦! 谢谢了!
7 楼
napoleonshow
2011-04-12
很好,学习!!
6 楼
lyltiger
2011-04-06
很详细的 环境搭建!
5 楼
dt27
2011-04-05
谢·谢楼主,唉,麻烦啊~~~能有类似VS的工具就爽了~~~~
4 楼
blueram
2011-04-02
更更悲剧的是,这个地址也被墙了
http://androidappdocs.appspot.com/sdk/index.html
相关推荐
在进入Android应用开发的世界之前,首先需要正确地搭建Android SDK 2.3和Eclipse的开发环境。这个过程虽然看似繁琐,但遵循正确的步骤,你可以轻松完成。以下是一份详细的搭建指南,旨在帮助你顺利开始Android编程之...
### Android SDK 2.3与Eclipse最新版开发环境搭建详解 #### 一、背景介绍与准备工作 在深入了解如何搭建Android SDK 2.3与Eclipse的开发环境之前,我们首先来了解一下Android及其相关的背景知识。 **1. Android...
Android SDK 2.3与Eclipse最新版开发环境搭建 android 开发入门与实践 android 驱动开发入门 android 平台移植与底层开发 Android UI设计技巧 Android 终端开发 Android+ARM 组合及前景分析 Android内核的...
Android SDK 2.3与Eclipse最新版开发环境搭建 android 开发入门与实践 android 驱动开发入门 android 平台移植与底层开发 Android UI设计技巧 Android 终端开发 Android+ARM 组合及前景分析 Android内核的...
### Eclipse 搭建 Android 开发环境图文教程 #### 一、准备工作 在开始搭建 Eclipse Android 开发环境之前,需要准备以下几项基础组件: 1. **下载 Oracle 公司的 JDK (Java Development Kit) 软件包**:这是 ...
本开发指南为初学者提供了详细的步骤指导,涵盖了从开发环境搭建到实际硬件调试的全过程。通过学习这些内容,开发者能够更好地理解和掌握如何在 Mini6410 和 Tiny6410 开发板上进行 Android 2.3 的应用程序开发,...
Android SDK 2.3与Eclipse最新版开发环境搭建 android 开发入门与实践 android 驱动开发入门 android 平台移植与底层开发 Android UI设计技巧 Android 终端开发 Android+ARM 组合及前景分析 Android内核的...
Android SDK 2.3与Eclipse最新版开发环境搭建 android 开发入门与实践 android 驱动开发入门 android 平台移植与底层开发 Android UI设计技巧 Android 终端开发 Android+ARM 组合及前景分析 Android内核的...
### Android开发环境搭建及配置详解 #### 一、引言 随着移动互联网的快速发展,Android平台已成为移动应用开发的重要领域之一。对于初学者而言,掌握Android开发环境的搭建与配置至关重要。本文旨在详细介绍如何从...
本文主要介绍了如何使用Eclipse搭建Android开发环境,并提供了详细的步骤和相关下载链接。首先,我们从准备阶段开始。 1. **下载JDK**: - 从Oracle官方网站下载JDK,这里是Java SE 6 Update 27的下载地址:...
这篇文档详细介绍了如何在2013年时配置最新的Android开发环境,尽管现在时间已经过去,但基本步骤仍然适用于当前的开发环境搭建。以下是根据文档内容整理的关键知识点: 1. **Java SE Development Kit (JDK) 安装**...
【Android开发环境搭建详解】 Android开发环境的搭建是每个Android开发者必须经历的步骤,这篇教程将详细介绍2013年时的最新环境配置方法。首先,我们需要准备两个关键的工具:Java SE Development Kit (JDK) 7 和 ...