>

adt的详细信息,地址直接输入

- 编辑:澳门博发娱乐官网 -

adt的详细信息,地址直接输入

图片 1

和as中一模一样的。我这时候回过头来打开android-27的android.webkit目录,

sources

同上samples方法,解压后得到src文件夹,重命名为对应名称如android-16放进sources文件夹。

ADT

ADT(Android Development Tools)是一个Eclipse插件,如果没有这个插件,我们开发Android应用就得不停在命令行里敲各种命令,除非你是记事本开发狂人,否则还是老老实实享受ADT带来的方便吧。至于Eclipse本身可以去eclipse.org下载,这里就不再提供了。

文件名 文件大小 说明 其他下载地址
ADT-21.0.0.zip 12.9M   官网 微云
ADT-20.0.3.zip 11.8M   官网 微云
ADT-12.0.0.zip 5.4M 如果你不习惯新版的ADT,这个版本也许适合你。 官网 微云

ADT的版本号基本上是跟着SDK Tools走,即每出一个新版本的SDK Tools,就出一个同样版本的ADT。不过实际使用中,即使是老版本的ADT也能对新版SDK支持得不错。

 

更新2014/10/23:感谢CodeDream分享的另一个国内下载网址,内容比较全(没有adt-bundle)速度较快,推荐。

Sources for 'Android API 26 Platform' not found.

搞错没有任何实现,这可恼火到我了,我就在网上找解决方案,结果没看到解决方案。只有关于HTTP在api28下面无法使用的问题。

Load XML文件

打开Manager就可以看到底下状态栏显示Parsing XML和Fetching 一些XML文件了,通过manager Log也可以看到爬取记录,如下图:

managerLog.png

解析到的的XML文件就是repository-10.xml,addons_list-2.xml,addon-6.xml,addon.xml。最重要是repository-10.xml和addon.xml这两个,前者包含了平台资源文件的下载地址,后者则主要是前面介绍的Extras内容地址。所以,只需要打开log窗口,然后复制出这两个XML文件的地址(比如本文写作时的地址是https://dl-ssl.google.com/android/repository/repository-10.xml 和https://dl-ssl.google.com/android/repository/addon.xml),将其复制到浏览器打开保存或者直接用下载软件下载就可以了。

Samples

Google提供了丰富的开发示例,如果时间允许多看看这些例子代码和运行效果,对提升手机应用的设计开发能力肯定大有帮助。

文件名 文件大小 说明 其他下载地址
samples-L_r02.zip 39.2M   东软
samples-20_r01.zip 40.9M   官网
samples-19_r05.zip 30.4M   官网
samples-18_r01.zip 18.9M   官网
samples-17_r01.zip 14.1M   官网
samples-16_r01.zip 14.0M   官网
samples-15_r02.zip 15.6M   官网 
samples-14_r02.zip 15.5M   官网 
samples-3.2_r01-linux.zip 11.6M   官网 
samples-3.1_r01-linux.zip 11.5M   官网 
samples-3.0_r01-linux.zip 11.4M   官网 
samples-2.3_r01-linux.zip 8.1M   官网 
samples-2.3.3_r01-linux.zip 8.1M   官网 
samples-2.2_r01-linux.zip 7.6M   官网 
samples-2.1_r01-linux.zip 7.3M   官网 

除了上面这些以外,还有AddOns和Supports等分类没来得及整理,等有时间了找一下。

以上内容随时补充更新,欢迎提醒和纠错。

如果您觉得本文内容对您有帮助:下载我参与的APP 应用计时 或:推荐+1(需登录)

 

路径设置Eclipse中创建Android Emulator时,相应的文件会被放置到

“C:Documents and SettingsAdministrator.android“ 下面。

如果想改变AVD的路径设置,有两种方法:

方法一:新添加一个环境变量,名字为 "ANDROID_SDK_HOME”,变量值为".android"文件夹(AVD信息)所在路径(路径中不包含.android)

方法二:修改配置文件中的路径,例如,AVD名称是AVD8, 使用Windows写字板打开C:Documents and SettingsAdministrator.androidavd目录中的文件AVD8.ini文件,文件内容如下: target=android-8 path=C:Documents and SettingsAdministrator.androidavdAVD8.avd修改其路径即可,如:path=C:Program Filesandroid.androidavdAVD8.avd。

注:遇到"ERROR: unknown virtual device name"这样的问题,一般是由于AVD文件路径引用错误造成的。

模拟器界面介绍 打开Android SDK and AVD Manager,选择Virtual devices/AVD8(已经创建的一个模拟器)。

然后点击右侧的Start按钮,在弹出的Launch Option对话框中直接点击Launch,运行模拟器(所需时间比较长),如下图所示。

模拟器界面的左上角,显示"5554:AVD8">> AVD8为创建的模拟器的名称。

每个模拟器都会绑定到"127.0.0.1"这个IP地址上,5554代表该模拟器绑定IP地址时的端口号。

这样,"127.0.0.1:5554"就唯一的表示该模拟器,多个模拟器之间就可以通过端口号来进行通信,通话或者发送短信等。模拟器左侧为手机桌面,右侧为一些按键(如:手机上的返回/后退键,主菜单键等等)>> 通过主菜单进入setting界面,可以进行一些设置,如:模拟器的显示语言,时间等。模拟器下方有三个按钮,分别是:拨号、主菜单和浏览器。

 

端口:80

即:

使用apk_tool可以看到里面的源码,与AS中看到的API28的源码确实不一样,但是如何将它取出来替换掉呢?这还是难住了我,我看AS中的源码,就在SDK目录下,我始终没有找到其在文件在哪儿,哎,我就看到了SDK目录下面有一个source目录,

extras

extras文件夹下主要为android和google这两个文件夹,将前面Extras列表下的Google开头文件对应压缩包解压后放在google文件夹里,Android开头的压缩包则解压缩后放进android文件夹。

ADT

ADT(Android Development Tools)是一个Eclipse插件,如果没有这个插件,我们开发Android应用就得不停在命令行里敲各种命令,除非你是记事本开发狂人,否则还是老老实实享受ADT带来的方便吧。至于Eclipse本身可以去eclipse.org下载,这里就不再提供了。

文件名 文件大小 说明 其他下载地址
ADT-21.0.0.zip 12.9M   官网 微云
ADT-20.0.3.zip 11.8M   官网 微云
ADT-12.0.0.zip 5.4M 如果你不习惯新版的ADT,这个版本也许适合你。 官网 微云

ADT的版本号基本上是跟着SDK Tools走,即每出一个新版本的SDK Tools,就出一个同样版本的ADT。不过实际使用中,即使是老版本的ADT也能对新版SDK支持得不错。

ADT

ADT(Android Development Tools)是一个Eclipse插件,如果没有这个插件,我们开发Android应用就得不停在命令行里敲各种命令,除非你是记事本开发狂人,否则还是老老实实享受ADT带来的方便吧。至于Eclipse本身可以去eclipse.org下载,这里就不再提供了。

文件名 文件大小 说明 其他下载地址
ADT-21.0.0.zip 12.9M   官网 微云
ADT-20.0.3.zip 11.8M   官网 微云
ADT-12.0.0.zip 5.4M 如果你不习惯新版的ADT,这个版本也许适合你。 官网 微云

ADT的版本号基本上是跟着SDK Tools走,即每出一个新版本的SDK Tools,就出一个同样版本的ADT。不过实际使用中,即使是老版本的ADT也能对新版SDK支持得不错。

本以为能通过点击 Download 按钮下载最新源码时,却又弹出 Package Unavailable 错误提示:

图片 2

对于Android开发的朋友来说,首先要做的就是配置开发环境,目前官方提供的IDE是AndroidStudio,不过个人还是习惯于Eclipse。由于国内的网络环境原因,通过官方的SDK Manager的下载速度一般很慢,因此采用离线下载比较简单。简单来说就是先把安装需要的压缩包通过迅雷等P2P软件下载到本地,然后再配置改动一些参数来本地安装。但是一般方法费时费力,主要是因为网上贴出来的下载网盘链接或者官方下载地址总在不断更新,不具有时效性。这篇文章对Android SDK的下载和配置进行了分析,提供了有效获取离线SDK的方式。

一、android SDK manager 无法获取更新版本列表解决方法

Android SDK manager 打开后获取不了版本列表,如图所示:

图片 3

 

试下这个:

网址:mirrors.neusoft.edu.cn

端口:80

99%是成功的

图片 4

 

网址:mirrors.neusoft.edu.cn

端口:80

 

不知道是因为最近kaihui还是怎么的,打开android sdk官方网站特别的慢,想下载最新版本的platform几乎变成不可能完成的任务,不知道为什么Google不像Apache那样在各国设立镜像站。为了预防今后再出现这样的情况,这次干脆把android开发所需要的各种包总结一下,顺便提供本地下载链接,省得以后找起来麻烦。

通过分析SDK Manager里要用到的repository文件,我下载了目前google提供的各类安卓开发包并上传到了网盘。由于网盘有CDN支持,即使不用迅雷,下载速度依然很快。如果你从官网下载很慢,不妨试试这些国内链接。

更新2014/10/23:增加了部分Android-L资源下载。

更新2014/10/23:感谢CodeDream分享的另一个国内下载网址,内容比较全(没有adt-bundle)速度较快,推荐。

更新2014/8/15:更新了level14-17的samples包;增加了level18-20的samples包;增加了level20版本的源码包;增加了level18-20的platform包。

更新2014/8/7:增加了level18和level19的源码包,并更新了其他版本源码包的链接。

更新2014/7/1: 百度和微云的大部分链接都失效了,重新更新了adt-bundle和sdk的下载链接,部分文件版本有升级。

更新2014/03/11: 更新了adt-bundle和sdk的下载链接,sdk版本由22.3更新为22.6,增加了腾讯微云的下载链接作为备份。

更新2013/12/27: bd网盘病得不轻,分享链接以后几分钟再访问,就显示“啊哦,你来晚了”。甚至网盘里的文件都被删除,导致楼主硬盘里也没有这些文件了,回收站里只能恢复出空文件夹。楼主会再花几天时间重新下载,放到其他网盘里,见谅。“善待生命,远离bd网盘。”

更新2013/12/27: 最近bd网盘又犯病,导致很多链接都失效了,如果楼主更新链接不及时,请访问后面这个地址对照文件名挑选所需文件:,口令eer5。

更新2013/11/13: 更新了adt-bundle的版本到20131030,更新了android sdk的版本到r22.3。

更新2013/8/22: 更新了adt-bundle的版本到20130729。

更新2013/6/5:更新了adt-bundle-17-windows-64bit.zip的网盘链接。

更新2013/3/4:有一小部分下载链接失效,经查是由于未知原因被百度网盘禁止分享了,请过一段时间再试。

更新2013/3: 有些包分操作系统版本,例如windows版、macos版和linux版,下载时注意文件名里的标识。

此帖长期更新,若有未及时更新的版本或失效链接,请留言通知主页君。

 

更新2013/11/13: 更新了adt-bundle的版本到20131030,更新了android sdk的版本到r22.3。

具体做法是,找到本地 SDK/Sources 目录,复制一份 android-25 源码文件,并改名为 android-26,如图:

图片 5

具体操作

首先得先在Eclipse中把插件ADT装好,不过在2013年时候Android官网已经提供集成ADT的Eclipse下载,最新官方版本已经更改为Android Studio了,但是都使用Android SDK Manager来管理。因此第一步安装ADT工作基本可以略过了(如果确实不会装,请自行查资料解决,不在本文讨论范围内),后续操作都是在已经安装好SDK Manager的前提下进行的。



到Android SDK官网下载ADT离线升级包 ;

更新2014/10/23:增加了部分Android-L资源下载。

然后打开 android-26 文件夹,找到这两个文件:

我漫无目的的将它打开,发现里面有好几个文件夹,分别是android-26,android-27,android-28,

temp

通过SDK Manager下载的压缩包一般临时放在此文件夹下,安装完成后压缩包会被删除。

Platforms

Android系统版本从1.0到写这篇帖子时的4.2,大大小小已经经历了10多个版本,每个版本发布时Google都会提供一个sdk platform package供开发者使用。一般这个压缩包是在Eclipse开发环境里用SDK Manager来下载的,但在国内选择这种方式会很痛苦,因为每个platform都有几十上百兆大,装一个就得几个小时,好像还不能断点续传(?)。

在国内,更方便的做法是先下载离线包,然后解压缩到android sdk的安装目录下,重启Eclipse后就会自动识别出来。

文件名

文件大小

说明

其他下载地址

android-L_r04.zip

66.2M

Android L

东软

android-21_r01.zip

63.9M

Android 5.0

东软

android-20_r01.zip

60.6M

 

官网

android-19_r03.zip

60.8M

 

官网

android-18_r01.zip

46.4M

 

官网

android-17_r01.zip

 45.6M

Android 4.2

官网 微云

sysimg_armv7a-17_r01.zip

 111.0M

仅仿真器rom

官网 微云

android-16_r03.zip

45.7M

Android 4.1, 4.1.1, JELLY_BEAN

官网 微云

sysimg_armv7a-16_r03.zip

107.0M

仅仿真器rom

官网 微云

android-15_r03.zip

42.3M

Android 4.0.3, 4.0.4, ICE_CREAM_SANDWICH_MR1

官网 

sysimg_armv7a-15_r02.zip

91.7M

仅仿真器rom

官网 

android-14_r03.zip

43.7M

Android 4.0, 4.0.1, 4.0.2, ICE_CREAM_SANDWICH

官网 微云

sysimg_armv7a-14_r02.zip

95.0M

仅仿真器rom

官网 

android-3.2_r01-linux.zip

103.0M

API Level 13, HONEYCOMB_MR2
文件名虽然有linux但其实是平台无关的,下同,直至2.1。

官网 

android-3.1_r03-linux.zip

101.0M

API Level 12, HONEYCOMB_MR1

官网 

android-3.0_r02-linux.zip

99.6M

API Level 11, HONEYCOMB

官网 

android-2.3.3_r02-linux.zip

81.5M

API Level 10, GINGERBREAD_MR1

官网 微云

android-2.3.1_r02-linux.zip

75.0M

API Level 9, GINGERBREAD

官网 

android-2.2_r03-linux.zip

71.1M

API Level 8, FROYO

官网 

android-2.1_r03-linux.zip

66.8M

API Level 7, ECLAIR_MR1

官网 

android-2.0_r01-windows.zip

72.7M

API Level 5, ECLAIR

官网 

android-2.0_r01-macosx.zip

71.4M

官网 

android-2.0_r01-linux.zip

71.6M

官网 

android-2.0.1_r01-windows.zip

76.6M

API Level 6, ECLAIR_0_1

官网 

android-2.0.1_r01-macosx.zip

75.3M

官网 

android-2.0.1_r01-linux.zip

75.5M

官网 

android-1.6_r03-windows.zip

61.6M

API Level 4, DONUT

官网 

android-1.6_r03-macosx.zip

59.5M

官网 

android-1.6_r03-linux.zip

60.5M

官网 

android-1.5_r04-windows.zip

52.0M

API Level 3, CUPCAKE

官网 

android-1.5_r04-macosx.zip

50.0M

官网 

android-1.5_r04-linux.zip

50.8M

官网 

android-1.1_r1-windows.zip

44.6M

API Level 2   

官网 

android-1.1_r1-macosx.zip

43.4M

官网 

android-1.1_r1-linux.zip

43.3M

官网 

从Level 14开始,每个platform package都被分为两部分了,一部分包含这个版本下开发所需的jar包,例如android-16_r03.zip;另一部分是仿真器rom文件,例如sysimg_armv7a-16_r03.zip。最近的版本除了arm仿真器,还有x86仿真器可供下载(由intel提供),据说在x86电脑上运行能够大幅提速。如果你只在真机上调试代码,则不需要下载仿真器rom对应的文件。

更详细的Android版本对照表可以参考这里。

试下这个:

随着 Android 8.0 的正式发布,相信有些朋友已经升级 SDK 开始使用新特性了。然而需要注意的是,这一次 Google 并没有及时发布与之对应的 Android-26 源码。这带来的问题是,当你按下 command 同时单击某个系统 API 想浏览源码文档时,会出现如下这个提示:

我又点开了android-28,突然发现好像和as中的目录架构是一样的,我找到了它下面的android包下面的webkit包,再一看全是.java文件,我找到了其中的webView.java文件,打开一看,就是源文件,

补充(15.3.22)

墙内无缝更新Android SDK,请戳我

备份文字1

1.打开Android SDK Manager, 打开设置
2.设置代理
可选取下面之一
- 大连东软信息学院镜像服务器地址:服务器: http://mirrors.neusoft.edu.cn 端口:80
- 北京化工大学镜像服务器地址:
IPv4: http://ubuntu.buct.edu.cn 端口:80
IPv4: http://ubuntu.buct.cn 端口:80
IPv6: http://ubuntu.buct6.edu.cn 端口:80
- 上海GDG镜像服务器地址:服务器: http://sdk.gdgshanghai.com 端口:8000
3.关闭设置页, 选择Packages->Reload 重新加载, 接下来你就可以无阻碍的更新各种SDK了。

备份文字2

1.Android SDK在线更新镜像服务器
其他镜像服务器地址同上补充:
中国科学院开源协会镜像站地址:
IPV4/IPV6: http://mirrors.opencas.cn 端口:80
IPV4/IPV6: http://mirrors.opencas.org 端口:80
IPV4/IPV6: http://mirrors.opencas.ac.cn 端口:80
2.使用方法:
2.1启动 Android SDK Manager ,打开主界面,依次选择『Tools』、『Options...』,弹出『Android SDK Manager - Settings』窗口;
2.2在『Android SDK Manager - Settings』窗口中,在『HTTP Proxy Server」和「HTTP Proxy Port』输入框内填入上面镜像服务器地址(不包含<code>http://</code>,如下图)和端口,并且选中『Force <code>https://</code>... sources to be fetched using <code>http://</code>...』复选框。设置完成后单击『Close』按钮关闭『Android SDK Manager - Settings』窗口返回到主界面;
2.3依次选择『Packages』、『Reload』。

Android SDK

SDK就是开发包,里面包含了两大类命令行工具:一类是SDK Tools,如android.bat、ddms.bat和emulator.exe等等,这些命令位于tools目录,但运行仿真器所需的rom并不包含在内;另一类是Platform Tools,包含了如adb.exe、aidl.exe、aapt.exe等等命令,它们位于platform-tools目录。

请区别清这几个名称:SDK、SDK Tools、Platform Tools、Platform Package。

文件名

文件大小

说明

其他下载地址

installer_r22.6-windows.exe

84.7M

官方推荐下载这个安装包,是32位的 

官网 微云

android-sdk_r22.6-windows.zip

103.0M

文件名里虽然是"sdk",其实不含platform-tools,
叫"sdk tools"更合适。

官网 微云

android-sdk_r22.6-macosx.zip

71.4M

官网 微云

android-sdk_r22.6-linux.tgz

96.2M

官网 微云

SDK安装/解压缩后,只具有基本的功能,还无法开始进行开发。你还需要platform-tools和至少一个platform package才算完整。在eclipse里通过SDK Manager是可以在线安装的,但有时手动安装也许更快。

文件名

文件大小

说明

其他下载地址

platform-tools_r14-linux.zip

10.4M

将platform-tools目录解压到sdk所在目录   

官网

platform-tools_r14-macosx.zip

10.8M

官网

platform-tools_r14-windows.zip

10.6M

官网

假如你已经安装过android sdk,想单独升级tools,可以从下面的文件中选择所需要的压缩包下载,然后替换掉sdk目录下的对应子目录。

文件名

文件大小

说明

其他下载地址

tools_r20.0.3-linux.zip

78.8M

和第一个表里的"sdk"相比,只少了avd manager和sdk manager。
建议仅在需要升级时下载,用tools目录替换原来的同名目录。

官网

tools_r20.0.3-macosx.zip

55.5M

官网

tools_r20.0.3-windows.zip

86.0M

官网

 

Sources

我比较懒,从来没有用git下载过android源代码,如果你想用git下载,可以参考这篇文章里的操作方法。

官方目前提供了一些源代码压缩包,如下表所列,这些压缩包可以attach到eclipse里方便随时F3查看;最重要的是,有了源代码以后,Eclipse里代码辅助出来的参数名再也不会是"arg0"、"arg1"这样的了。

文件名 文件大小 说明 其他下载地址
sources-21_r01.zip 26.9M   东软
sources-20_r01.zip 22.2M   官网
sources-19_r01.zip 20.6M   官网 微云
sources-18_r01.zip 19.2M   官网 微云
sources-17_r01.zip 18.0M   官网 微云
sources-16_r02.zip 17.0M   官网
sources-15_r02.zip 15.7M   官网 
sources-14_r01.zip 15.4M   官网 
sources-8-froyo.zip 33.3M  (非官方) 官网
sources_2.1.zip 30.0M  (非官方) 官网
sources_1.6.zip 22.8M  (非官方) 官网 

 

关于我:亦枫,博客地址:

微信扫描二维码,欢迎关注我的个人公众号:安卓笔记侠

不仅分享我的原创技术文章,还有程序员的职场遐想

图片 6

图片 7

add-ons

对于add-ons文件夹,需要将google_apis-10_r02.zip(其他API Level类似)解压进去,并重命名为addon-google_apis-google-10,然后进入目录,新建source.properties文件,写入如下内容:

### Android Tool: Source of this archive.
#Sun Sep 14 14:03:53 CST 2014
Addon.NameDisplay=Google APIs
Addon.NameId=google_apis
Addon.VendorDisplay=Google Inc.
Addon.VendorId=google
AndroidVersion.ApiLevel=10
Pkg.Desc=Android + Google APIs, API 10, revision 2
Pkg.DescUrl=http://developer.android.com/
Pkg.License=To get started with the Android SDK, you must agree to the following terms and conditions.nnThis is the Android SDK License Agreement (the "License Agreement").nn1. Introductionnn1.1 The Android SDK (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and SDK library files and tools , if and when they are made available) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.nn1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.nn1.3 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.nn2. Accepting the License Agreementnn2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement.nn2.2 By clicking to accept and/or using the SDK, you hereby agree to the terms of the License Agreement.nn2.3 You may not use the SDK and may not accept the License 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.nn2.4 If you will use the SDK internally within your company or organization you agree to be bound by the License Agreement on behalf of your employer or other entity, and you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.nn3. SDK License from Googlenn3.1 Subject to the terms of the License Agreement, Google grants you a royalty-free, non-assignable, non-exclusive, non-sublicensable, limited, revocable license to use the SDK, personally or internally within your company or organization, solely to develop and distribute applications to run on the Android platform.nn3.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.nn3.3 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) 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; or (b) 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.nn3.4 You agree that you will not take any actions that may cause or result in the fragmentation of Android, including but not limited to distributing, participating in the creation of, or promoting in any way a software development kit derived from the SDK.nn3.5 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 the License Agreement. You agree to remain a licensee in good standing in regard to such open source software licenses under all the rights granted and to refrain from any actions that may terminate, suspend, or breach such rights.nn3.6 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.nn3.7 Nothing in the 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.nn3.8 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.nn4. Use of the SDK by Younn4.1 Google agrees that nothing in the License Agreement gives Google any right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.nn4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the 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).nn4.3 You agree that if you use the SDK to develop applications, you will protect the privacy and legal rights of users. If users provide you with user names, passwords, or other login information or personal information, you 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 users provide you 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, each user has given you permission to do so.nn4.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 Google or any third party.nn4.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 Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.nn4.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 the 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.nn5. Your Developer Credentialsnn5.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.nn6. Privacy and Informationnn6.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.nn6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy located at http://www.google.com/policies/privacy/.nn7. Third Party Applicationsnn7.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.nn7.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.nn7.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.nn8. Using Google APIsnn8.1 Google APIsnn8.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.nn8.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.nn9. Terminating the License Agreementnn9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below.nn9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.nn9.3 Google may at any time, terminate the License Agreement, with or without cause, upon notice to you.nn9.4 The License Agreement will automatically terminate without notice or other action when Google ceases to provide 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.nn9.5 When the License Agreement is terminated, the license granted to you in the License Agreement will terminate, you will immediately cease all use of the SDK, and the provisions of paragraphs 10, 11, 12 and 14 shall survive indefinitely.nn10. DISCLAIMERSnn10.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.nn10.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. WITHOUT LIMITING THE FOREGOING, YOU UNDERSTAND THAT THE SDK MAY CONTAIN ERRORS, DEFECTS AND SECURITY VULNERABILITIES THAT CAN RESULT IN SIGNIFICANT DAMAGE, INCLUDING THE COMPLETE, IRRECOVERABLE LOSS OF USE OF YOUR COMPUTER SYSTEM OR OTHER DEVICE.nn10.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.nn11. LIMITATION OF LIABILITYnn11.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.nn12. Indemnificationnn12.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 attorneysu2019 fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any Intellectual Property Rights of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you of the License Agreement.nn13. Changes to the License Agreementnn13.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.nn14. General Legal Termsnn14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK.nn14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the 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.nn14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.nn14.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 the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the 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 the License Agreement.nn14.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.nn14.6 The License Agreement may not be assigned or transferred by you without the prior written approval of Google, and any attempted assignment without such approval will be void. You shall not delegate your responsibilities or obligations under the License Agreement without the prior written approval of Google.nn14.7 The License Agreement, and your relationship with Google under the 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 the 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.nnJune 2014.n    
Pkg.LicenseRef=android-sdk-license
Pkg.Revision=2
Pkg.SourceUrl=https://dl-ssl.google.com/android/repository/addon.xml

其他API版本,则需要改动上述代码中的对应数字和Revision号,即

AndroidVersion.ApiLevel=10
Pkg.Desc=Android + Google APIs, API 10, revision 2
Pkg.Revision=2

这三行中数字,比如将10改为14、15、17、19,revision后的2改为对应的1、2者3等,具体信息解压缩后的文件夹名称可以体现出来,google_apis-10_r02则说明API Level为10,Revision号为2。

 

Android SDK

SDK就是开发包,里面包含了两大类命令行工具:一类是SDK Tools,如android.bat、ddms.bat和emulator.exe等等,这些命令位于tools目录,但运行仿真器所需的rom并不包含在内;另一类是Platform Tools,包含了如adb.exe、aidl.exe、aapt.exe等等命令,它们位于platform-tools目录。

请区别清这几个名称:SDK、SDK Tools、Platform Tools、Platform Package。

文件名

文件大小

说明

其他下载地址

installer_r22.6-windows.exe

84.7M

官方推荐下载这个安装包,是32位的 

官网 微云

android-sdk_r22.6-windows.zip

103.0M

文件名里虽然是"sdk",其实不含platform-tools,
叫"sdk tools"更合适。

官网 微云

android-sdk_r22.6-macosx.zip

71.4M

官网 微云

android-sdk_r22.6-linux.tgz

96.2M

官网 微云

SDK安装/解压缩后,只具有基本的功能,还无法开始进行开发。你还需要platform-tools和至少一个platform package才算完整。在eclipse里通过SDK Manager是可以在线安装的,但有时手动安装也许更快。

文件名

文件大小

说明

其他下载地址

platform-tools_r14-linux.zip

10.4M

将platform-tools目录解压到sdk所在目录   

官网

platform-tools_r14-macosx.zip

10.8M

官网

platform-tools_r14-windows.zip

10.6M

官网

假如你已经安装过android sdk,想单独升级tools,可以从下面的文件中选择所需要的压缩包下载,然后替换掉sdk目录下的对应子目录。

文件名

文件大小

说明

其他下载地址

tools_r20.0.3-linux.zip

78.8M

和第一个表里的"sdk"相比,只少了avd manager和sdk manager。
建议仅在需要升级时下载,用tools目录替换原来的同名目录。

官网

tools_r20.0.3-macosx.zip

55.5M

官网

tools_r20.0.3-windows.zip

86.0M

官网

 

本文由胜博发-编程发布,转载请注明来源:adt的详细信息,地址直接输入