blob: 87c57255d6b42160b09886757269767520ea2810 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001<?cs include:"doctype.cs" ?>
2<?cs include:"macros.cs" ?>
Scott Maine05e6f92013-01-29 13:34:17 -08003<html<?cs if:devsite ?> devsite<?cs /if ?>>
The Android Open Source Project88b60792009-03-03 19:28:42 -08004<?cs if:sdk.redirect ?>
5 <head>
6 <title>Redirecting...</title>
Scott Maincc089092011-01-17 16:44:10 -08007 <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs
8 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 </head>
11<?cs else ?>
12 <?cs include:"head_tag.cs" ?>
13<?cs /if ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -070014<body class="gc-documentation
Scott Maine4d8f1b2012-06-21 18:03:05 -070015 <?cs if:(guide||develop||training||reference||tools||sdk) ?>develop<?cs
16 elif:design ?>design<?cs
17 elif:distribute ?>distribute<?cs
18 /if ?>" itemscope itemtype="http://schema.org/CreativeWork">
19 <a name="top"></a>
20<?cs include:"header.cs" ?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080021
Scott Maine4d8f1b2012-06-21 18:03:05 -070022
23<div <?cs if:fullpage
24?><?cs else
25?>class="col-13" id="doc-col"<?cs /if ?> >
The Android Open Source Project88b60792009-03-03 19:28:42 -080026
The Android Open Source Project88b60792009-03-03 19:28:42 -080027<?cs if:sdk.redirect ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070028
Dirk Dougherty19a4bd12009-04-24 11:30:32 -070029<div class="g-unit">
30 <div id="jd-content">
Scott Maincc089092011-01-17 16:44:10 -080031 <p>Redirecting to
32 <a href="<?cs var:toroot ?>sdk/<?cs
Scott Mainb66a5c02010-07-08 11:29:28 -070033 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
34 else ?>index.html<?cs /if ?>"><?cs
35 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs
36 else ?>Download the SDK<?cs /if ?>
Dirk Doughertyd8cfce02009-07-15 16:37:21 -070037 </a> ...</p>
Scott Maincc089092011-01-17 16:44:10 -080038
The Android Open Source Project88b60792009-03-03 19:28:42 -080039<?cs else ?>
Scott Maincc089092011-01-17 16:44:10 -080040<?cs # else, if NOT redirect ...
41#
42#
43# The following is for SDK/NDK pages
44#
45#
46?>
47
Scott Maine4d8f1b2012-06-21 18:03:05 -070048<?cs if:header.hide ?><?cs else ?>
49<h1 itemprop="name"><?cs var:page.title ?></h1>
50<?cs /if ?>
Scott Main3652a112012-01-30 13:03:08 -080051 <div id="jd-content" itemprop="description">
The Android Open Source Project88b60792009-03-03 19:28:42 -080052
53<?cs if:sdk.not_latest_version ?>
54 <div class="special">
55 <p><strong>This is NOT the current Android SDK release.</strong></p>
Dirk Dougherty3d3d7b72009-10-21 19:52:52 -070056 <p><a href="/sdk/index.html">Download the current Android SDK</a></p>
The Android Open Source Project88b60792009-03-03 19:28:42 -080057 </div>
58<?cs /if ?>
Dirk Doughertye6be85f2009-06-24 11:01:03 -070059
The Android Open Source Project88b60792009-03-03 19:28:42 -080060
Scott Maincc089092011-01-17 16:44:10 -080061<?cs if:ndk ?>
62<?cs #
63#
64#
65#
66#
67#
68#
69# the following is for the NDK
70#
71# (nested in if/else redirect)
72#
73#
74#
75#
76?>
The Android Open Source Project88b60792009-03-03 19:28:42 -080077
Scott Main25659b02012-06-22 17:02:25 -070078 <table class="download" id="download-table">
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070079 <tr>
David Friedman81415ad2014-07-15 11:38:40 -070080 <th>Platform<br>(32-bit target)</th>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070081 <th>Package</th>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -070082 <th style="white-space:nowrap">Size (Bytes)</th>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070083 <th>MD5 Checksum</th>
84 </tr>
85 <tr>
David Friedman612a88b2013-12-06 02:23:14 -080086 <td>Windows 32-bit</td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070087 <td>
Scott Main098d8de2012-11-13 11:25:06 -080088 <a onClick="return onDownload(this)"
Scott Maina2303452013-03-18 11:31:15 -070089 href="http://dl.google.com/android/ndk/<?cs var:ndk.win32_download ?>"><?cs var:ndk.win32_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070090 </td>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -070091 <td><?cs var:ndk.win32_bytes ?></td>
Scott Maina2303452013-03-18 11:31:15 -070092 <td><?cs var:ndk.win32_checksum ?></td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -070093 </tr>
David Friedman612a88b2013-12-06 02:23:14 -080094 <!-- <tr>
95 <td>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -070096 <a onClick="return onDownload(this)"
Joe Fernandez8d936902013-07-25 17:05:06 -070097 href="http://dl.google.com/android/ndk/<?cs var:ndk.win32.legacy_download ?>"><?cs var:ndk.win32.legacy_download ?></a>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -070098 </td>
99 <td><?cs var:ndk.win32.legacy_bytes ?></td>
100 <td><?cs var:ndk.win32.legacy_checksum ?></td>
David Friedman612a88b2013-12-06 02:23:14 -0800101 </tr> -->
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700102 <tr>
David Friedman612a88b2013-12-06 02:23:14 -0800103 <td>Windows 64-bit</td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700104 <td>
Scott Main098d8de2012-11-13 11:25:06 -0800105 <a onClick="return onDownload(this)"
Scott Maina2303452013-03-18 11:31:15 -0700106 href="http://dl.google.com/android/ndk/<?cs var:ndk.win64_download ?>"><?cs var:ndk.win64_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700107 </td>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700108 <td><?cs var:ndk.win64_bytes ?></td>
Scott Maina2303452013-03-18 11:31:15 -0700109 <td><?cs var:ndk.win64_checksum ?></td>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700110 </tr>
David Friedman612a88b2013-12-06 02:23:14 -0800111 <!-- <tr>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700112 <td>
113 <a onClick="return onDownload(this)"
Joe Fernandez8d936902013-07-25 17:05:06 -0700114 href="http://dl.google.com/android/ndk/<?cs var:ndk.win64.legacy_download ?>"><?cs var:ndk.win64.legacy_download ?></a>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700115 </td>
116 <td><?cs var:ndk.win64.legacy_bytes ?></td>
117 <td><?cs var:ndk.win64.legacy_checksum ?></td>
David Friedman612a88b2013-12-06 02:23:14 -0800118 </tr> -->
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700119 <tr>
David Friedman612a88b2013-12-06 02:23:14 -0800120 <td>Mac OS X 32-bit</td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700121 <td>
Scott Main098d8de2012-11-13 11:25:06 -0800122 <a onClick="return onDownload(this)"
Scott Maina2303452013-03-18 11:31:15 -0700123 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac32_download ?>"><?cs var:ndk.mac32_download ?></a>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700124 </td>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700125 <td><?cs var:ndk.mac32_bytes ?></td>
Scott Maina2303452013-03-18 11:31:15 -0700126 <td><?cs var:ndk.mac32_checksum ?></td>
127 </tr>
David Friedman612a88b2013-12-06 02:23:14 -0800128 <!-- <tr>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700129 <td>
130 <a onClick="return onDownload(this)"
Joe Fernandez8d936902013-07-25 17:05:06 -0700131 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac32.legacy_download ?>"><?cs var:ndk.mac32.legacy_download ?></a>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700132 </td>
133 <td><?cs var:ndk.mac32.legacy_bytes ?></td>
134 <td><?cs var:ndk.mac32.legacy_checksum ?></td>
David Friedman612a88b2013-12-06 02:23:14 -0800135 </tr> -->
136 <td>Mac OS X 64-bit</td>
Scott Maina2303452013-03-18 11:31:15 -0700137 <td>
138 <a onClick="return onDownload(this)"
139 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac64_download ?>"><?cs var:ndk.mac64_download ?></a>
140 </td>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700141 <td><?cs var:ndk.mac64_bytes ?></td>
Scott Maina2303452013-03-18 11:31:15 -0700142 <td><?cs var:ndk.mac64_checksum ?></td>
143 </tr>
David Friedman612a88b2013-12-06 02:23:14 -0800144 <!-- <tr>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700145 <td>
146 <a onClick="return onDownload(this)"
Joe Fernandez8d936902013-07-25 17:05:06 -0700147 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac64.legacy_download ?>"><?cs var:ndk.mac64.legacy_download ?></a>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700148 </td>
149 <td><?cs var:ndk.mac64.legacy_bytes ?></td>
150 <td><?cs var:ndk.mac64.legacy_checksum ?></td>
David Friedman612a88b2013-12-06 02:23:14 -0800151 </tr> -->
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700152 <tr>
David Friedman612a88b2013-12-06 02:23:14 -0800153 <td>Linux 32-bit (x86)</td>
Scott Maina2303452013-03-18 11:31:15 -0700154 <td>
155 <a onClick="return onDownload(this)"
156 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux32_download ?>"><?cs var:ndk.linux32_download ?></a>
157 </td>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700158 <td><?cs var:ndk.linux32_bytes ?></td>
Scott Maina2303452013-03-18 11:31:15 -0700159 <td><?cs var:ndk.linux32_checksum ?></td>
160 </tr>
David Friedman612a88b2013-12-06 02:23:14 -0800161 <!-- <tr>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700162 <td>
163 <a onClick="return onDownload(this)"
Joe Fernandez8d936902013-07-25 17:05:06 -0700164 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux32.legacy_download ?>"><?cs var:ndk.linux32.legacy_download ?></a>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700165 </td>
166 <td><?cs var:ndk.linux32.legacy_bytes ?></td>
167 <td><?cs var:ndk.linux32.legacy_checksum ?></td>
David Friedman612a88b2013-12-06 02:23:14 -0800168 </tr> -->
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700169 <tr>
David Friedman612a88b2013-12-06 02:23:14 -0800170 <td>Linux 64-bit (x86)</td>
Scott Maina2303452013-03-18 11:31:15 -0700171 <td>
172 <a onClick="return onDownload(this)"
173 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux64_download ?>"><?cs var:ndk.linux64_download ?></a>
174 </td>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700175 <td><?cs var:ndk.linux64_bytes ?></td>
Scott Maina2303452013-03-18 11:31:15 -0700176 <td><?cs var:ndk.linux64_checksum ?></td>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700177 </tr>
David Friedman612a88b2013-12-06 02:23:14 -0800178 <!-- <tr>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700179 <td>
180 <a onClick="return onDownload(this)"
Joe Fernandez8d936902013-07-25 17:05:06 -0700181 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux64.legacy_download ?>"><?cs var:ndk.linux64.legacy_download ?></a>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700182 </td>
183 <td><?cs var:ndk.linux64.legacy_bytes ?></td>
184 <td><?cs var:ndk.linux64.legacy_checksum ?></td>
David Friedman612a88b2013-12-06 02:23:14 -0800185 </tr> -->
David Friedman81415ad2014-07-15 11:38:40 -0700186
David Friedman612a88b2013-12-06 02:23:14 -0800187 <tr>
David Friedman81415ad2014-07-15 11:38:40 -0700188 <th>Platform<br>(64-bit target)</th>
189 <th>Package</th>
190 <th style="white-space:nowrap">Size (Bytes)</th>
191 <th>MD5 Checksum</th>
192 </tr>
193 <tr>
194 <td>Windows 32-bit</td>
195 <td>
196 <a onClick="return onDownload(this)"
197 href="http://dl.google.com/android/ndk/<?cs var:ndk.win32_64_download ?>"><?cs var:ndk.win32_64_download ?></a>
198 </td>
199 <td><?cs var:ndk.win32_64_bytes ?></td>
200 <td><?cs var:ndk.win32_64_checksum ?></td>
201 </tr>
202 <!-- <tr>
203 <td>
204 <a onClick="return onDownload(this)"
205 href="http://dl.google.com/android/ndk/<?cs var:ndk.win32.legacy_download ?>"><?cs var:ndk.win32.legacy_download ?></a>
206 </td>
207 <td><?cs var:ndk.win32.legacy_bytes ?></td>
208 <td><?cs var:ndk.win32.legacy_checksum ?></td>
209 </tr> -->
210 <tr>
211 <td>Windows 64-bit</td>
212 <td>
213 <a onClick="return onDownload(this)"
214 href="http://dl.google.com/android/ndk/<?cs var:ndk.win64_64_download ?>"><?cs var:ndk.win64_64_download ?></a>
215 </td>
216 <td><?cs var:ndk.win64_64_bytes ?></td>
217 <td><?cs var:ndk.win64_64_checksum ?></td>
218 </tr>
219 <!-- <tr>
220 <td>
221 <a onClick="return onDownload(this)"
222 href="http://dl.google.com/android/ndk/<?cs var:ndk.win64.legacy_download ?>"><?cs var:ndk.win64.legacy_download ?></a>
223 </td>
224 <td><?cs var:ndk.win64.legacy_bytes ?></td>
225 <td><?cs var:ndk.win64.legacy_checksum ?></td>
226 </tr> -->
227 <tr>
228 <td>Mac OS X 32-bit</td>
229 <td>
230 <a onClick="return onDownload(this)"
231 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac32_64_download ?>"><?cs var:ndk.mac32_64_download ?></a>
232 </td>
233 <td><?cs var:ndk.mac32_64_bytes ?></td>
234 <td><?cs var:ndk.mac32_64_checksum ?></td>
235 </tr>
236 <!-- <tr>
237 <td>
238 <a onClick="return onDownload(this)"
239 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac32.legacy_download ?>"><?cs var:ndk.mac32.legacy_download ?></a>
240 </td>
241 <td><?cs var:ndk.mac32.legacy_bytes ?></td>
242 <td><?cs var:ndk.mac32.legacy_checksum ?></td>
243 </tr> -->
244 <td>Mac OS X 64-bit</td>
245 <td>
246 <a onClick="return onDownload(this)"
247 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac64_64_download ?>"><?cs var:ndk.mac64_64_download ?></a>
248 </td>
249 <td><?cs var:ndk.mac64_64_bytes ?></td>
250 <td><?cs var:ndk.mac64_64_checksum ?></td>
251 </tr>
252 <!-- <tr>
253 <td>
254 <a onClick="return onDownload(this)"
255 href="http://dl.google.com/android/ndk/<?cs var:ndk.mac64.legacy_download ?>"><?cs var:ndk.mac64.legacy_download ?></a>
256 </td>
257 <td><?cs var:ndk.mac64.legacy_bytes ?></td>
258 <td><?cs var:ndk.mac64.legacy_checksum ?></td>
259 </tr> -->
260 <tr>
261 <td>Linux 32-bit (x86)</td>
262 <td>
263 <a onClick="return onDownload(this)"
264 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux32_64_download ?>"><?cs var:ndk.linux32_64_download ?></a>
265 </td>
266 <td><?cs var:ndk.linux32_64_bytes ?></td>
267 <td><?cs var:ndk.linux32_64_checksum ?></td>
268 </tr>
269 <!-- <tr>
270 <td>
271 <a onClick="return onDownload(this)"
272 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux32.legacy_download ?>"><?cs var:ndk.linux32.legacy_download ?></a>
273 </td>
274 <td><?cs var:ndk.linux32.legacy_bytes ?></td>
275 <td><?cs var:ndk.linux32.legacy_checksum ?></td>
276 </tr> -->
277 <tr>
278 <td>Linux 64-bit (x86)</td>
279 <td>
280 <a onClick="return onDownload(this)"
281 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux64_64_download ?>"><?cs var:ndk.linux64_64_download ?></a>
282 </td>
283 <td><?cs var:ndk.linux64_64_bytes ?></td>
284 <td><?cs var:ndk.linux64_64_checksum ?></td>
285 </tr>
286 <!-- <tr>
287 <td>
288 <a onClick="return onDownload(this)"
289 href="http://dl.google.com/android/ndk/<?cs var:ndk.linux64.legacy_download ?>"><?cs var:ndk.linux64.legacy_download ?></a>
290 </td>
291 <td><?cs var:ndk.linux64.legacy_bytes ?></td>
292 <td><?cs var:ndk.linux64.legacy_checksum ?></td>
293 </tr> -->
294
295 <tr>
296 <th>Additional Download<br>(32-, 64-bit)</th>
David Friedman612a88b2013-12-06 02:23:14 -0800297 <th>Package</th>
298 <th style="white-space:nowrap">Size (Bytes)</th>
299 <th>MD5 Checksum</th>
300 </tr>
301 <tr>
302 <td>STL debug info</td>
303 <td>
304 <a onClick="return onDownload(this)"
305 href="http://dl.google.com/android/ndk/<?cs var:ndk.debug_info_download ?>"><?cs var:ndk.debug_info_download ?></a>
306 </td>
307 <td><?cs var:ndk.debug_info_bytes ?></td>
308 <td><?cs var:ndk.debug_info_checksum ?></td>
Dirk Dougherty48e3f1d2013-07-25 15:26:07 -0700309 </tr>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700310 </table>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700311
Scott Maine4d8f1b2012-06-21 18:03:05 -0700312 <?cs ######## HERE IS THE JD DOC CONTENT ######### ?>
313 <?cs call:tag_list(root.descr) ?>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700314
Scott Main098d8de2012-11-13 11:25:06 -0800315
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700316
Scott Main098d8de2012-11-13 11:25:06 -0800317<script>
318 function onDownload(link) {
319
320 $("#downloadForRealz").html("Download " + $(link).text());
321 $("#downloadForRealz").attr('href',$(link).attr('href'));
322
323 $("#tos").fadeIn('slow');
324
325 location.hash = "download";
326 return false;
327 }
328
329
330 function onAgreeChecked() {
331 if ($("input#agree").is(":checked")) {
332 $("a#downloadForRealz").removeClass('disabled');
333 } else {
334 $("a#downloadForRealz").addClass('disabled');
335 }
336 }
337
338 function onDownloadNdkForRealz(link) {
339 if ($("input#agree").is(':checked')) {
340 $("#tos").fadeOut('slow');
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700341
Scott Main098d8de2012-11-13 11:25:06 -0800342 $('html, body').animate({
343 scrollTop: $("#Installing").offset().top
344 }, 800, function() {
345 $("#Installing").click();
346 });
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700347
Scott Main098d8de2012-11-13 11:25:06 -0800348 return true;
349 } else {
350 $("label#agreeLabel").parent().stop().animate({color: "#258AAF"}, 200,
351 function() {$("label#agreeLabel").parent().stop().animate({color: "#222"}, 200)}
352 );
353 return false;
354 }
355 }
356
357 $(window).hashchange( function(){
358 if (location.hash == "") {
359 location.reload();
360 }
361 });
362
363</script>
364
Scott Maincc089092011-01-17 16:44:10 -0800365 <?cs else ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700366<?cs # end if NDK ...
Scott Maincc089092011-01-17 16:44:10 -0800367#
368#
369#
370#
371#
372#
373# the following is for the SDK
374#
375# (nested in if/else redirect and if/else NDK)
376#
377#
378#
379#
380?>
Scott Mainb73777e2010-11-22 15:02:01 -0800381 <?cs if:android.whichdoc == "online" ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700382
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800383
Scott Maine4d8f1b2012-06-21 18:03:05 -0700384<?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?>
385<?cs call:tag_list(root.descr) ?>
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800386
Scott Maindb3678b2012-10-23 14:13:41 -0700387
388
389
Scott Main55d99832012-11-12 23:03:59 -0800390<h4><a href='' class="expandable"
391 onclick="toggleExpandable(this,'.pax');hideExpandable('.myide,.reqs');return false;"
smain@google.come39012b2014-06-13 11:41:28 -0700392 >VIEW ALL DOWNLOADS AND SIZES</a></h4>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700393
394
Scott Main55d99832012-11-12 23:03:59 -0800395<div class="pax col-13 online" style="display:none;margin:0;">
Scott Maindb3678b2012-10-23 14:13:41 -0700396
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700397
Scott Maindb3678b2012-10-23 14:13:41 -0700398<p class="table-caption"><strong>ADT Bundle</strong></p>
399 <table class="download">
400 <tr>
401 <th>Platform</th>
402 <th>Package</th>
403 <th>Size</th>
404 <th>MD5 Checksum</th>
405 </tr>
406 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800407 <td>Windows 32-bit</td>
Scott Maindb3678b2012-10-23 14:13:41 -0700408 <td>
Scott Main11ac05b2012-11-15 14:57:44 -0800409 <a onClick="return onDownload(this)" id="win-bundle32"
Ricardo Cervera94dcf1c2014-06-25 14:45:14 -0700410 href="http://dl.google.com/android/adt/<?cs var:sdk.win32_bundle_download ?>"><?cs var:sdk.win32_bundle_download ?></a>
Scott Maindb3678b2012-10-23 14:13:41 -0700411 </td>
Scott Main11ac05b2012-11-15 14:57:44 -0800412 <td><?cs var:sdk.win32_bundle_bytes ?> bytes</td>
413 <td><?cs var:sdk.win32_bundle_checksum ?></td>
Scott Maindb3678b2012-10-23 14:13:41 -0700414 </tr>
415 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800416 <td>Windows 64-bit</td>
Scott Maindb3678b2012-10-23 14:13:41 -0700417 <td>
Scott Main11ac05b2012-11-15 14:57:44 -0800418 <a onClick="return onDownload(this)" id="win-bundle64"
Ricardo Cervera94dcf1c2014-06-25 14:45:14 -0700419 href="http://dl.google.com/android/adt/<?cs var:sdk.win64_bundle_download ?>"><?cs var:sdk.win64_bundle_download ?></a>
Scott Maindb3678b2012-10-23 14:13:41 -0700420 </td>
Scott Main11ac05b2012-11-15 14:57:44 -0800421 <td><?cs var:sdk.win64_bundle_bytes ?> bytes</td>
422 <td><?cs var:sdk.win64_bundle_checksum ?></td>
423 </tr>
424 <tr>
425 <td><nobr>Mac OS X 64-bit</nobr></td>
426 <td>
427 <a onClick="return onDownload(this)" id="mac-bundle64"
Ricardo Cervera94dcf1c2014-06-25 14:45:14 -0700428 href="http://dl.google.com/android/adt/<?cs var:sdk.mac64_bundle_download ?>"><?cs var:sdk.mac64_bundle_download ?></a>
Scott Main11ac05b2012-11-15 14:57:44 -0800429 </td>
430 <td><?cs var:sdk.mac64_bundle_bytes ?> bytes</td>
431 <td><?cs var:sdk.mac64_bundle_checksum ?></td>
432 </tr>
433 <tr>
434 <td>Linux 32-bit</td>
435 <td>
436 <a onClick="return onDownload(this)" id="linux-bundle32"
Ricardo Cervera94dcf1c2014-06-25 14:45:14 -0700437 href="http://dl.google.com/android/adt/<?cs var:sdk.linux32_bundle_download ?>"><?cs var:sdk.linux32_bundle_download ?></a>
Scott Main11ac05b2012-11-15 14:57:44 -0800438 </td>
439 <td><?cs var:sdk.linux32_bundle_bytes ?> bytes</td>
440 <td><?cs var:sdk.linux32_bundle_checksum ?></td>
441 </tr>
442 <tr>
443 <td>Linux 64-bit</td>
444 <td>
445 <a onClick="return onDownload(this)" id="linux-bundle64"
Ricardo Cervera94dcf1c2014-06-25 14:45:14 -0700446 href="http://dl.google.com/android/adt/<?cs var:sdk.linux64_bundle_download ?>"><?cs var:sdk.linux64_bundle_download ?></a>
Scott Main11ac05b2012-11-15 14:57:44 -0800447 </td>
448 <td><?cs var:sdk.linux64_bundle_bytes ?> bytes</td>
449 <td><?cs var:sdk.linux64_bundle_checksum ?></td>
Scott Maindb3678b2012-10-23 14:13:41 -0700450 </tr>
451 </table>
452
453
454<p class="table-caption"><strong>SDK Tools Only</strong></p>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800455 <table class="download">
456 <tr>
457 <th>Platform</th>
458 <th>Package</th>
459 <th>Size</th>
460 <th>MD5 Checksum</th>
461 </tr>
462 <tr>
Scott Maina2303452013-03-18 11:31:15 -0700463 <td rowspan="2">Windows<br>32 &amp; 64-bit</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800464 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700465 <a onclick="return onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.win_download
Scott Maina1b358a2010-06-24 16:36:54 -0700466?>"><?cs var:sdk.win_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800467 </td>
468 <td><?cs var:sdk.win_bytes ?> bytes</td>
469 <td><?cs var:sdk.win_checksum ?></td>
470 </tr>
Scott Maincc089092011-01-17 16:44:10 -0800471 <tr>
472 <!-- blank TD from Windows rowspan -->
473 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700474 <a onclick="return onDownload(this)" id="win-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700475var:sdk.win_installer
Scott Maincc089092011-01-17 16:44:10 -0800476?>"><?cs var:sdk.win_installer ?></a> (Recommended)
477 </td>
478 <td><?cs var:sdk.win_installer_bytes ?> bytes</td>
479 <td><?cs var:sdk.win_installer_checksum ?></td>
480 </tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800481 <tr>
Scott Maina2303452013-03-18 11:31:15 -0700482 <td><nobr>Mac OS X</nobr><br>32 &amp; 64-bit</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800483 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700484 <a onclick="return onDownload(this)" id="mac-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700485var:sdk.mac_download
Scott Maina1b358a2010-06-24 16:36:54 -0700486?>"><?cs var:sdk.mac_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800487 </td>
488 <td><?cs var:sdk.mac_bytes ?> bytes</td>
489 <td><?cs var:sdk.mac_checksum ?></td>
490 </tr>
491 <tr>
Scott Maina2303452013-03-18 11:31:15 -0700492 <td>Linux<br>32 &amp; 64-bit</td>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800493 <td>
Scott Maindb3678b2012-10-23 14:13:41 -0700494 <a onclick="return onDownload(this)" id="linux-tools" href="http://dl.google.com/android/<?cs
Scott Maine4d8f1b2012-06-21 18:03:05 -0700495var:sdk.linux_download
Scott Maina1b358a2010-06-24 16:36:54 -0700496?>"><?cs var:sdk.linux_download ?></a>
The Android Open Source Project88b60792009-03-03 19:28:42 -0800497 </td>
498 <td><?cs var:sdk.linux_bytes ?> bytes</td>
499 <td><?cs var:sdk.linux_checksum ?></td>
500 </tr>
501 </table>
Scott Maindb3678b2012-10-23 14:13:41 -0700502
Scott Main55d99832012-11-12 23:03:59 -0800503</div><!-- end pax -->
Scott Maindb3678b2012-10-23 14:13:41 -0700504
505
Scott Main55d99832012-11-12 23:03:59 -0800506
507</div><!-- end col-13 for lower-half content -->
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700508
509
510
511
Scott Maine4d8f1b2012-06-21 18:03:05 -0700512<script>
Scott Main55d99832012-11-12 23:03:59 -0800513 if (location.hash == "#Requirements") {
514 $('.reqs').show();
515 } else if (location.hash == "#ExistingIDE") {
516 $('.ide').show();
517 }
Scott Maindb3678b2012-10-23 14:13:41 -0700518
Scott Maine4d8f1b2012-06-21 18:03:05 -0700519 var os;
Scott Main11ac05b2012-11-15 14:57:44 -0800520 var bundlename;
Scott Maindb3678b2012-10-23 14:13:41 -0700521 var $toolslink;
522
Scott Maine4d8f1b2012-06-21 18:03:05 -0700523 if (navigator.appVersion.indexOf("Win")!=-1) {
524 os = "Windows";
Scott Main11ac05b2012-11-15 14:57:44 -0800525 bundlename = '#win-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700526 $toolslink = $('#win-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700527 } else if (navigator.appVersion.indexOf("Mac")!=-1) {
528 os = "Mac";
Scott Main11ac05b2012-11-15 14:57:44 -0800529 bundlename = '#mac-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700530 $toolslink = $('#mac-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700531 } else if (navigator.appVersion.indexOf("Linux")!=-1) {
532 os = "Linux";
Scott Main11ac05b2012-11-15 14:57:44 -0800533 bundlename = '#linux-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700534 $toolslink = $('#linux-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700535 }
The Android Open Source Project88b60792009-03-03 19:28:42 -0800536
Scott Maine4d8f1b2012-06-21 18:03:05 -0700537 if (os) {
Scott Mainf973ced2012-06-28 11:56:01 -0700538 $('#not-supported').hide();
Scott Maindb3678b2012-10-23 14:13:41 -0700539
540 /* set up primary adt download button */
541 $('#download-bundle-button').show();
smain@google.come39012b2014-06-13 11:41:28 -0700542 $('#download-bundle-button').append("Download Eclipse ADT <br/><span class='small'>with the Android SDK for " + os + "</span>");
Scott Main11ac05b2012-11-15 14:57:44 -0800543 $('#download-bundle-button').click(function() {return onDownload(this,true,true);}).attr('href', bundlename);
Scott Maindb3678b2012-10-23 14:13:41 -0700544
545 /* set up sdk tools only button */
546 $('#download-tools-button').show();
smain@google.come39012b2014-06-13 11:41:28 -0700547 $('#download-tools-button').append("Download the stand-alone Android SDK Tools for " + os);
Scott Main11ac05b2012-11-15 14:57:44 -0800548 $('#download-tools-button').click(function() {return onDownload(this,true);}).attr('href', $toolslink.attr('href'));
Scott Maine4d8f1b2012-06-21 18:03:05 -0700549 } else {
550 $('.pax').show();
Scott Maine4d8f1b2012-06-21 18:03:05 -0700551 }
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700552
553
Scott Main11ac05b2012-11-15 14:57:44 -0800554 function onDownload(link, button, bundle) {
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700555
Scott Main11ac05b2012-11-15 14:57:44 -0800556 /* set text for download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700557 if (button) {
558 $("#downloadForRealz").html($(link).text());
559 } else {
560 $("#downloadForRealz").html("Download " + $(link).text());
Scott Main11ac05b2012-11-15 14:57:44 -0800561 }
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700562
Scott Main11ac05b2012-11-15 14:57:44 -0800563 /* if it's a bundle, show the 32/64-bit picker */
564 if (bundle) {
565 $("#downloadForRealz").attr('bundle','true');
566 if ($("#downloadForRealz").text().indexOf("Mac") == -1) {
567 $("p#bitpicker").show();
568 } else {
569 /* mac is always 64 bit, so set it checked */
570 $("p#bitpicker input[value=64]").attr('checked', true);
571 }
572 /* save link name until the bit version is chosen */
573 $("#downloadForRealz").attr('name',$(link).attr('href'));
574 } else {
575 /* if not using bundle, set download button to ignore bitpicker and set url */
576 $("#downloadForRealz").attr('bundle','false');
577 $("#downloadForRealz").attr('href',$(link).attr('href'));
578 /* set picker checked as a fake default */
579 $("p#bitpicker input[value=64]").attr('checked', true);
Scott Maindb3678b2012-10-23 14:13:41 -0700580 $("a#next-link").html("Setting Up an Existing IDE").attr('href',toRoot + 'sdk/installing/index.html');
581 }
Scott Maindb3678b2012-10-23 14:13:41 -0700582
583 $("#tos").fadeIn('fast');
584 $("#landing").fadeOut('fast');
585
586 location.hash = "download";
587 return false;
588 }
589
590
591 function onAgreeChecked() {
Scott Main11ac05b2012-11-15 14:57:44 -0800592 /* verify that the TOS is agreed and a bit version is chosen */
593 if ($("input#agree").is(":checked") && $("#bitpicker input:checked").length) {
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700594
Scott Main11ac05b2012-11-15 14:57:44 -0800595 /* if downloading the bundle */
596 if ($("#downloadForRealz").attr('bundle')) {
597 /* construct the name of the link we want based on the bit version */
598 linkId = $("a#downloadForRealz").attr("name") + $("#bitpicker input:checked").val();
599 /* set the real url for download */
600 $("a#downloadForRealz").attr("href", $(linkId).attr("href"));
601 }
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700602
Scott Main11ac05b2012-11-15 14:57:44 -0800603 /* reveal the download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700604 $("a#downloadForRealz").removeClass('disabled');
605 } else {
606 $("a#downloadForRealz").addClass('disabled');
607 }
608 }
609
610 function onDownloadForRealz(link) {
Scott Main11ac05b2012-11-15 14:57:44 -0800611 if ($("input#agree").is(':checked') && $("#bitpicker input:checked").length) {
Scott Maindb3678b2012-10-23 14:13:41 -0700612 $("div.sdk-terms").slideUp();
smain@google.com95948b82014-06-16 19:24:25 -0700613 $("h1#tos-header").text('Now redirecting to the install instructions...');
Scott Mainc29b3f52014-05-30 21:18:30 -0700614 $("#sdk-terms-form,.sdk-terms-intro").fadeOut('slow', function() {
615 setTimeout(function() {
616 if ($("#downloadForRealz").attr('bundle') == 'true') {
617 // User downloaded the ADT Bundle
618 window.location = "/sdk/installing/index.html?pkg=adt";
619 } else {
620 // User downloaded the SDK Tools
621 window.location = "/sdk/installing/index.html?pkg=tools";
622 }
623 }, 500);
624 });
Scott Mainc9418f42013-11-20 12:52:22 -0800625 _gaq.push(['_trackEvent', 'SDK', 'ADT and Tools', $("#downloadForRealz").html()]);
Scott Maindb3678b2012-10-23 14:13:41 -0700626 return true;
627 } else {
Scott Main11ac05b2012-11-15 14:57:44 -0800628 $("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#258AAF"}, 200,
629 function() {$("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#222"}, 200)}
Scott Maindb3678b2012-10-23 14:13:41 -0700630 );
631 return false;
632 }
633 }
634
635 $(window).hashchange( function(){
Scott Maindb3678b2012-10-23 14:13:41 -0700636 if (location.hash == "") {
637 location.reload();
638 }
639 });
640
Scott Maina1b358a2010-06-24 16:36:54 -0700641</script>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700642
Scott Maine4d8f1b2012-06-21 18:03:05 -0700643
Scott Maindb3678b2012-10-23 14:13:41 -0700644
645</div><!-- end the wrapper used for relative/absolute positions -->
646<?cs # THIS DIV WAS OPENED IN INDEX.JD ?>
647
648
649
650
Scott Main58286dc2011-01-17 18:23:21 -0800651 <?cs else ?> <?cs # end if online ?>
Scott Maina1b358a2010-06-24 16:36:54 -0700652
Scott Main17e47ad2011-05-27 09:52:19 -0700653 <?cs if:sdk.preview ?><?cs # it's preview offline docs ?>
Scott Maincc089092011-01-17 16:44:10 -0800654 <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming
655 Android 3.0 release, to give you a head-start on developing applications for it.
656 </p>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700657
Scott Maincc089092011-01-17 16:44:10 -0800658 <p>See the <a
659 href="<?cs var:toroot ?>sdk/preview/start.html">Getting Started</a> document for more information
660 about how to set up the preview SDK and get started.</p>
661 <style type="text/css">
662 .non-preview { display:none; }
663 </style>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700664
Scott Main17e47ad2011-05-27 09:52:19 -0700665 <?cs else ?><?cs # it's normal offline docs ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700666
Scott Maine4d8f1b2012-06-21 18:03:05 -0700667 <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?>
668 <?cs call:tag_list(root.descr) ?>
Scott Main17e47ad2011-05-27 09:52:19 -0700669 <style type="text/css">
Scott Maine4d8f1b2012-06-21 18:03:05 -0700670 body .offline { display:block; }
671 body .online { display:none; }
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700672 </style>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700673 <script>
674 $('.reqs').show();
675 </script>
Scott Maincc089092011-01-17 16:44:10 -0800676 <?cs /if ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700677
Scott Main58286dc2011-01-17 18:23:21 -0800678 <?cs /if ?> <?cs # end if/else online ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700679
Scott Maincc089092011-01-17 16:44:10 -0800680<?cs /if ?> <?cs # end if/else NDK ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700681
Scott Maincc089092011-01-17 16:44:10 -0800682<?cs /if ?> <?cs # end if/else redirect ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700683
The Android Open Source Project88b60792009-03-03 19:28:42 -0800684
The Android Open Source Project88b60792009-03-03 19:28:42 -0800685</div><!-- end jd-content -->
686
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700687<?cs if:!sdk.redirect ?>
Scott Maincc089092011-01-17 16:44:10 -0800688<?cs include:"footer.cs" ?>
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700689<?cs /if ?>
690
Scott Maincc089092011-01-17 16:44:10 -0800691</div><!-- end g-unit -->
The Android Open Source Project88b60792009-03-03 19:28:42 -0800692
693<?cs include:"trailer.cs" ?>
694
Dirk Dougherty8f6949b2013-12-03 18:49:24 -0800695<!-- Start of Tag -->
696<script type="text/javascript">
697var axel = Math.random() + "";
698var a = axel * 10000000000000;
699document.write('<iframe src="https://2507573.fls.doubleclick.net/activityi;src=2507573;type=other026;cat=googl348;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
700</script>
701<noscript>
702<iframe src="https://2507573.fls.doubleclick.net/activityi;src=2507573;type=other026;cat=googl348;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
703</noscript>
704<!-- End of Tag -->
The Android Open Source Project88b60792009-03-03 19:28:42 -0800705</body>
706</html>
707
708
709