blob: 0205408fbbebf285be2498ced3e00e1b7c2c89cd [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001<?cs include:"doctype.cs" ?>
2<?cs include:"macros.cs" ?>
3<html>
4<?cs if:sdk.redirect ?>
5 <head>
6 <title>Redirecting...</title>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -07007 <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs
Dirk Dougherty71904aa2009-08-05 20:35:31 -07008 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
Dirk Doughertye1233852010-03-03 14:34:51 -08009 else ?>index.html<?cs /if ?>">
The Android Open Source Project88b60792009-03-03 19:28:42 -080010 <link href="<?cs var:toroot ?>assets/android-developer-docs.css" rel="stylesheet" type="text/css" />
11 </head>
12<?cs else ?>
13 <?cs include:"head_tag.cs" ?>
14<?cs /if ?>
15<body class="gc-documentation">
16<a name="top"></a>
17<?cs call:custom_masthead() ?>
18
19<?cs call:sdk_nav() ?>
20
The Android Open Source Project88b60792009-03-03 19:28:42 -080021<?cs if:sdk.redirect ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070022
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070023<div class="g-unit">
24 <div id="jd-content">
25 <p>Redirecting to
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070026 <a href="<?cs var:toroot ?>sdk/<?cs
Scott Mainb66a5c02010-07-08 11:29:28 -070027 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
28 else ?>index.html<?cs /if ?>"><?cs
29 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
30 else ?>Download the SDK<?cs /if ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070031 </a> ...</p>
The Android Open Source Project88b60792009-03-03 19:28:42 -080032<?cs else ?>
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070033<div class="g-unit" id="doc-content" >
The Android Open Source Project88b60792009-03-03 19:28:42 -080034 <div id="jd-header" class="guide-header" >
35 <span class="crumb">&nbsp;</span>
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070036 <h1><?cs if:android.whichdoc == "online" ?>Download the <?cs /if ?><?cs var:page.title ?></h1>
The Android Open Source Project88b60792009-03-03 19:28:42 -080037 </div>
38
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070039 <div id="jd-content">
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070040 <?cs
Dirk Doughertye1233852010-03-03 14:34:51 -080041 if:ndk ?><?cs
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070042 else ?><?cs
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070043 if:android.whichdoc == "online" ?><p><em><?cs
44 var:sdk.date ?></em></p><?cs
45 /if ?><?cs
46 /if ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080047
48<?cs if:sdk.not_latest_version ?>
49 <div class="special">
50 <p><strong>This is NOT the current Android SDK release.</strong></p>
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070051 <p><a href="/sdk/index.html">Download the current Android SDK</a></p>
The Android Open Source Project88b60792009-03-03 19:28:42 -080052 </div>
53<?cs /if ?>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070054
Dirk Dougherty82a28812009-08-05 19:09:16 -070055<?cs if:android.whichdoc != "online" && !android.preview ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080056
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070057<!-- <p>The sections below provide an overview of how to install the SDK package. </p> -->
The Android Open Source Project88b60792009-03-03 19:28:42 -080058
59<?cs else ?>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070060 <?cs if:ndk ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080061
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070062<p>The Android NDK is a companion tool to the Android SDK that lets Android
63application developers build performance-critical portions of their apps in
64native code. It is designed for use <em>only</em> in conjunction with the
Dirk Dougherty5c450ed2009-09-23 17:31:16 -070065Android SDK, so if you have not already installed the latest Android SDK, please
66do so before downloading the NDK. Also, please read <a href="#overview">What is
67the Android NDK?</a> to get an understanding of what the NDK offers and whether
68it will be useful to you.</p>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070069
70<p>Select the download package that is appropriate for your development
Dirk Doughertye6be85f2009-06-24 11:01:03 -070071computer. </p>
72
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070073 <table class="download">
74 <tr>
75 <th>Platform</th>
76 <th>Package</th>
77 <th>Size</th>
78 <th>MD5 Checksum</th>
79 </tr>
80 <tr>
81 <td>Windows</td>
82 <td>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070083 <a href="http://dl.google.com/android/ndk/<?cs var:ndk.win_download ?>"><?cs var:ndk.win_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070084 </td>
85 <td><?cs var:ndk.win_bytes ?> bytes</td>
86 <td><?cs var:ndk.win_checksum ?></td>
87 </tr>
88 <tr class="alt-color">
89 <td>Mac OS X (intel)</td>
90 <td>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070091 <a href="http://dl.google.com/android/ndk/<?cs var:ndk.mac_download ?>"><?cs var:ndk.mac_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070092 </td>
93 <td><?cs var:ndk.mac_bytes ?> bytes</td>
94 <td><?cs var:ndk.mac_checksum ?></td>
95 </tr>
96 <tr>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070097 <td>Linux 32/64-bit (x86)</td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070098 <td>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070099 <a href="http://dl.google.com/android/ndk/<?cs var:ndk.linux_download ?>"><?cs var:ndk.linux_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700100 </td>
101 <td><?cs var:ndk.linux_bytes ?> bytes</td>
102 <td><?cs var:ndk.linux_checksum ?></td>
103 </tr>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700104 </table>
105
Dirk Dougherty82a28812009-08-05 19:09:16 -0700106 <?cs else ?><?cs if:android.whichdoc == "online" ?>
107
108 <?cs if:sdk.preview ?>
109 <p>Welcome developers! The next release of the Android platform will be
110 Android 1.6 and we are pleased to announce the availability of an early look
111 SDK to give you a head-start on developing applications for it. </p>
112
Dirk Dougherty123bb122009-08-27 16:45:47 -0700113 <p>The Android <?cs var:sdk.preview.version ?> platform includes a variety of
Scott Main462cc372009-10-23 16:19:37 -0700114 improvements and new features for users and developers. Additionally, the SDK
115 itself introduces several new capabilities that enable you to develop
116 applications more efficiently. See the <a href="features.html">Android <?cs
117 var:sdk.preview.version ?> Platform Highlights</a> document for a list of
118 highlights.</p>
119<?cs /if ?>
120<?cs # end if NDK ... the following is for the SDK ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700121
Dirk Doughertye1233852010-03-03 14:34:51 -0800122<?cs #
123 <div class="toggle-content special">
Scott Main462cc372009-10-23 16:19:37 -0700124 <p>The Android SDK has changed! If you've worked with the Android SDK before,
125 you will notice several important differences:</p>
126
127 <div class="toggle-content-toggleme" style="display:none">
Dirk Doughertyc2c5e502009-10-24 14:38:58 -0700128 <ul style="padding-bottom:.0;">
Scott Main462cc372009-10-23 16:19:37 -0700129 <li style="margin-top:.5em">The SDK downloadable package includes <em>only</em>
130 the latest version of the Android SDK Tools.</li>
131 <li>Once you've installed the SDK, you now use the Android SDK and AVD Manager
132 to download all of the SDK components that you need, such as Android platforms,
133 SDK add-ons, tools, and documentation. </li>
134 <li>The new approach is modular &mdash; you can install only the components you
135 need and update any or all components without affecting other parts of your
136 development environment.</li>
137 <li>In short, once you've installed the new SDK, you will not need to download
138 an SDK package again. Instead, you will use the Android SDK and AVD Manager to
139 keep your development environment up-to-date. </li>
140 </ul>
Dirk Doughertyc2c5e502009-10-24 14:38:58 -0700141 <p style="margin-top:0">If you are currently using the Android 1.6 SDK, you
142 do not need to install the new SDK, because your existing SDK already
143 includes the Android SDK and AVD Manager tool. To develop against Android
Dirk Doughertyb5817a32009-11-18 23:15:13 -0800144 2.0.1, for example, you can just download the Android 2.0.1 platform (and
Dirk Doughertyc2c5e502009-10-24 14:38:58 -0700145 updated SDK Tools) into your existing SDK. Refer to <a
146 href="adding-components.html">Adding SDK Components</a>.</p>
Scott Main462cc372009-10-23 16:19:37 -0700147 </div>
148
Dirk Doughertye1233852010-03-03 14:34:51 -0800149 <a href='#' class='toggle-content-button show' onclick="toggleContent(this,true);return false;">
Scott Main462cc372009-10-23 16:19:37 -0700150 <span>show more</span><span style='display:none'>show less</span>
151 </a>
152 </div>
Dirk Doughertye1233852010-03-03 14:34:51 -0800153?>
Scott Maina1b358a2010-06-24 16:36:54 -0700154
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800155 <p>Welcome Developers! If you are new to the Android SDK, please read the <a
156href="#quickstart">Quick Start</a>, below, for an overview of how to install and
157set up the SDK. </p>
158
159 <p>If you are already using the Android SDK and would like to update to the
160latest tools or platforms, please use the <em>Android SDK and AVD Manager</em>
161to get the components, rather than downloading a new SDK package.</p>
162
The Android Open Source Project88b60792009-03-03 19:28:42 -0800163 <table class="download">
164 <tr>
165 <th>Platform</th>
166 <th>Package</th>
167 <th>Size</th>
168 <th>MD5 Checksum</th>
169 </tr>
170 <tr>
171 <td>Windows</td>
172 <td>
Scott Maina1b358a2010-06-24 16:36:54 -0700173 <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.win_download
174?>"><?cs var:sdk.win_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800175 </td>
176 <td><?cs var:sdk.win_bytes ?> bytes</td>
177 <td><?cs var:sdk.win_checksum ?></td>
178 </tr>
179 <tr class="alt-color">
180 <td>Mac OS X (intel)</td>
181 <td>
Scott Maina1b358a2010-06-24 16:36:54 -0700182 <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.mac_download
183?>"><?cs var:sdk.mac_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800184 </td>
185 <td><?cs var:sdk.mac_bytes ?> bytes</td>
186 <td><?cs var:sdk.mac_checksum ?></td>
187 </tr>
188 <tr>
189 <td>Linux (i386)</td>
190 <td>
Scott Maina1b358a2010-06-24 16:36:54 -0700191 <a onclick="onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.linux_download
192?>"><?cs var:sdk.linux_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800193 </td>
194 <td><?cs var:sdk.linux_bytes ?> bytes</td>
195 <td><?cs var:sdk.linux_checksum ?></td>
196 </tr>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700197 <?cs if:adt.zip_download ?>
198 <tr class="alt-color">
199 <td>ADT Plugin for Eclipse <?cs var:adt.zip_version ?></td>
200 <td>
Dirk Doughertyc66c90a2009-09-16 10:11:01 -0700201 <a href="http://dl.google.com/android/<?cs var:adt.zip_download ?>"><?cs var:adt.zip_download ?></a>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700202 </td>
203 <td><?cs var:adt.zip_bytes ?> bytes</td>
204 <td><?cs var:adt.zip_checksum ?></td>
205 </tr>
206 <?cs /if ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800207 </table>
208
Scott Maina1b358a2010-06-24 16:36:54 -0700209
210<div id="next-steps" style="display:none">
211 <p><b>Your download of <em><span id="filename"></span></em> has begun!</b></p>
212</div>
213
214<script type="text/javascript">
215function onDownload(link) {
216 $(link).parent().parent().children().css('background', '#fff');
217 $("#filename").text($(link).html());
218 $("#next-steps").show();
219}
220</script>
221
Dirk Dougherty82a28812009-08-05 19:09:16 -0700222 <?cs /if ?>
223 <?cs /if ?>
224<?cs /if ?>
225
226<?cs if:android.whichdoc != "online" && sdk.preview ?>
227 <p>Welcome developers! The next release of the Android platform will be
Dirk Dougherty123bb122009-08-27 16:45:47 -0700228Android <?cs var:sdk.preview.version ?> and we are pleased to announce the
229availability of an early look SDK to give you a head-start on developing
230applications for it. </p>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700231
Dirk Dougherty123bb122009-08-27 16:45:47 -0700232 <p>The Android <?cs var:sdk.preview.version ?> platform includes a variety of
233improvements and new features for users and developers. Additionally, the SDK
234itself introduces several new capabilities that enable you to develop
235applications more efficiently. See the <a
236href="http://developer.android.com/sdk/preview/features.html">Android
237<?cs var:sdk.preview.version ?> Highlights</a> document for a list of
238highlights.</p>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700239<?cs /if ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800240
241 <?cs call:tag_list(root.descr) ?>
242
243<?cs /if ?>
244</div><!-- end jd-content -->
245
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700246<?cs if:!sdk.redirect ?>
247 <?cs include:"footer.cs" ?>
248<?cs /if ?>
249
The Android Open Source Project88b60792009-03-03 19:28:42 -0800250</div><!-- end doc-content -->
251
252<?cs include:"trailer.cs" ?>
253
254</body>
255</html>
256
257
258