blob: 52aa5871648bb59b4d93eb9cb2084faaddfe9dde [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 Friedmane0471a82014-10-15 02:21:19 -070080 <th>Platform</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
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700187 </table>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700188
Scott Maine4d8f1b2012-06-21 18:03:05 -0700189 <?cs ######## HERE IS THE JD DOC CONTENT ######### ?>
190 <?cs call:tag_list(root.descr) ?>
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700191
Scott Main098d8de2012-11-13 11:25:06 -0800192
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700193
Scott Main098d8de2012-11-13 11:25:06 -0800194<script>
195 function onDownload(link) {
196
197 $("#downloadForRealz").html("Download " + $(link).text());
198 $("#downloadForRealz").attr('href',$(link).attr('href'));
199
200 $("#tos").fadeIn('slow');
201
202 location.hash = "download";
203 return false;
204 }
205
206
207 function onAgreeChecked() {
208 if ($("input#agree").is(":checked")) {
209 $("a#downloadForRealz").removeClass('disabled');
210 } else {
211 $("a#downloadForRealz").addClass('disabled');
212 }
213 }
214
215 function onDownloadNdkForRealz(link) {
216 if ($("input#agree").is(':checked')) {
217 $("#tos").fadeOut('slow');
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700218
Scott Main098d8de2012-11-13 11:25:06 -0800219 $('html, body').animate({
220 scrollTop: $("#Installing").offset().top
221 }, 800, function() {
222 $("#Installing").click();
223 });
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700224
Scott Main098d8de2012-11-13 11:25:06 -0800225 return true;
226 } else {
227 $("label#agreeLabel").parent().stop().animate({color: "#258AAF"}, 200,
228 function() {$("label#agreeLabel").parent().stop().animate({color: "#222"}, 200)}
229 );
230 return false;
231 }
232 }
233
234 $(window).hashchange( function(){
235 if (location.hash == "") {
236 location.reload();
237 }
238 });
239
240</script>
241
Scott Maincc089092011-01-17 16:44:10 -0800242 <?cs else ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700243<?cs # end if NDK ...
Scott Maincc089092011-01-17 16:44:10 -0800244#
245#
246#
247#
248#
249#
250# the following is for the SDK
251#
252# (nested in if/else redirect and if/else NDK)
253#
254#
255#
256#
257?>
Scott Mainb73777e2010-11-22 15:02:01 -0800258 <?cs if:android.whichdoc == "online" ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700259
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800260
Scott Maine4d8f1b2012-06-21 18:03:05 -0700261<?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?>
262<?cs call:tag_list(root.descr) ?>
Dirk Dougherty4b2eb972010-03-08 17:31:26 -0800263
Scott Maindb3678b2012-10-23 14:13:41 -0700264
265
266
Scott Main55d99832012-11-12 23:03:59 -0800267<h4><a href='' class="expandable"
268 onclick="toggleExpandable(this,'.pax');hideExpandable('.myide,.reqs');return false;"
smain@google.come39012b2014-06-13 11:41:28 -0700269 >VIEW ALL DOWNLOADS AND SIZES</a></h4>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700270
271
Scott Main55d99832012-11-12 23:03:59 -0800272<div class="pax col-13 online" style="display:none;margin:0;">
Scott Maindb3678b2012-10-23 14:13:41 -0700273
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700274
Rich Slogarfe4dd522014-11-03 15:16:34 -0800275
276<p class="table-caption"><strong>Android Studio Bundle</strong></p>
277 <table class="download">
278 <tr>
279 <th>Platform</th>
280 <th>Package</th>
281 <th>Size</th>
282 <th>SHA1 Sum</th>
283 </tr>
284 <tr>
285 <td>Windows 32-bit</td>
286 <td>
287 <a onClick="return onDownload(this)" id="win-bundle32"
288 href="https://dl.google.com/android/studio/<?cs var:sdk.win32_bundle_download ?>"><?cs var:studio.win32_bundle_download ?></a>
289 </td>
290 <td><?cs var:studio.win32_bundle_bytes ?> bytes</td>
291 <td><?cs var:studio.win32_bundle_checksum ?></td>
292 </tr>
293 <tr>
294 <td>Windows 64-bit</td>
295 <td>
296 <a onClick="return onDownload(this)" id="win-bundle64"
297 href="https://dl.google.com/android/studio/<?cs var:sdk.win64_bundle_download ?>"><?cs var:studio.win64_bundle_download ?></a>
298 </td>
299 <td><?cs var:studio.win64_bundle_bytes ?> bytes</td>
300 <td><?cs var:studio.win64_bundle_checksum ?></td>
301 </tr>
302 <tr>
303 <td><nobr>Mac OS X 64-bit</nobr></td>
304 <td>
305 <a onClick="return onDownload(this)" id="mac-bundle64"
306 href="https://dl.google.com/android/studio/<?cs var:sdk.mac64_bundle_download ?>"><?cs var:studio.mac64_bundle_download ?></a>
307 </td>
308 <td><?cs var:studio.mac64_bundle_bytes ?> bytes</td>
309 <td><?cs var:studio.mac64_bundle_checksum ?></td>
310 </tr>
311 <tr>
312 <td>Linux 32-bit</td>
313 <td>
314 <a onClick="return onDownload(this)" id="linux-bundle32"
315 href="https://dl.google.com/android/studio/<?cs var:sdk.linux32_bundle_download ?>"><?cs var:studio.linux32_bundle_download ?></a>
316 </td>
317 <td><?cs var:studio.linux32_bundle_bytes ?> bytes</td>
318 <td><?cs var:studio.linux32_bundle_checksum ?></td>
319 </tr>
320 <tr>
321 <td>Linux 64-bit</td>
322 <td>
323 <a onClick="return onDownload(this)" id="linux-bundle64"
324 href="https://dl.google.com/android/studio/<?cs var:sdk.linux64_bundle_download ?>"><?cs var:studio.linux64_bundle_download ?></a>
325 </td>
326 <td><?cs var:studio.linux64_bundle_bytes ?> bytes</td>
327 <td><?cs var:studio.linux64_bundle_checksum ?></td>
328 </tr>
329 </table>
330
331
332
333
334<p class="table-caption"><strong>SDK Tools Only</strong></p>
335 <table class="download">
336 <tr>
337 <th>Platform</th>
338 <th>Package</th>
339 <th>Size</th>
340 <th>MD5 Checksum</th>
341 </tr>
342 <tr>
343 <td rowspan="2">Windows<br>32 &amp; 64-bit</td>
344 <td>
345 <a onclick="return onDownload(this)" href="http://dl.google.com/android/<?cs var:sdk.win_download
346?>"><?cs var:sdk.win_download ?></a>
347 </td>
348 <td><?cs var:sdk.win_bytes ?> bytes</td>
349 <td><?cs var:sdk.win_checksum ?></td>
350 </tr>
351 <tr>
352 <!-- blank TD from Windows rowspan -->
353 <td>
354 <a onclick="return onDownload(this)" id="win-tools" href="http://dl.google.com/android/<?cs
355var:sdk.win_installer
356?>"><?cs var:sdk.win_installer ?></a> (Recommended)
357 </td>
358 <td><?cs var:sdk.win_installer_bytes ?> bytes</td>
359 <td><?cs var:sdk.win_installer_checksum ?></td>
360 </tr>
361 <tr>
362 <td><nobr>Mac OS X</nobr><br>32 &amp; 64-bit</td>
363 <td>
364 <a onclick="return onDownload(this)" id="mac-tools" href="http://dl.google.com/android/<?cs
365var:sdk.mac_download
366?>"><?cs var:sdk.mac_download ?></a>
367 </td>
368 <td><?cs var:sdk.mac_bytes ?> bytes</td>
369 <td><?cs var:sdk.mac_checksum ?></td>
370 </tr>
371 <tr>
372 <td>Linux<br>32 &amp; 64-bit</td>
373 <td>
374 <a onclick="return onDownload(this)" id="linux-tools" href="http://dl.google.com/android/<?cs
375var:sdk.linux_download
376?>"><?cs var:sdk.linux_download ?></a>
377 </td>
378 <td><?cs var:sdk.linux_bytes ?> bytes</td>
379 <td><?cs var:sdk.linux_checksum ?></td>
380 </tr>
381 </table>
382
383
Scott Maindb3678b2012-10-23 14:13:41 -0700384<p class="table-caption"><strong>ADT Bundle</strong></p>
385 <table class="download">
386 <tr>
387 <th>Platform</th>
388 <th>Package</th>
389 <th>Size</th>
390 <th>MD5 Checksum</th>
391 </tr>
392 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800393 <td>Windows 32-bit</td>
Scott Maindb3678b2012-10-23 14:13:41 -0700394 <td>
Scott Main11ac05b2012-11-15 14:57:44 -0800395 <a onClick="return onDownload(this)" id="win-bundle32"
Ricardo Cervera54d2ca32014-08-27 08:48:49 -0700396 href="https://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 -0700397 </td>
Scott Main11ac05b2012-11-15 14:57:44 -0800398 <td><?cs var:sdk.win32_bundle_bytes ?> bytes</td>
399 <td><?cs var:sdk.win32_bundle_checksum ?></td>
Scott Maindb3678b2012-10-23 14:13:41 -0700400 </tr>
401 <tr>
Scott Main11ac05b2012-11-15 14:57:44 -0800402 <td>Windows 64-bit</td>
Scott Maindb3678b2012-10-23 14:13:41 -0700403 <td>
Scott Main11ac05b2012-11-15 14:57:44 -0800404 <a onClick="return onDownload(this)" id="win-bundle64"
Ricardo Cervera54d2ca32014-08-27 08:48:49 -0700405 href="https://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 -0700406 </td>
Scott Main11ac05b2012-11-15 14:57:44 -0800407 <td><?cs var:sdk.win64_bundle_bytes ?> bytes</td>
408 <td><?cs var:sdk.win64_bundle_checksum ?></td>
409 </tr>
410 <tr>
411 <td><nobr>Mac OS X 64-bit</nobr></td>
412 <td>
413 <a onClick="return onDownload(this)" id="mac-bundle64"
Ricardo Cervera54d2ca32014-08-27 08:48:49 -0700414 href="https://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 -0800415 </td>
416 <td><?cs var:sdk.mac64_bundle_bytes ?> bytes</td>
417 <td><?cs var:sdk.mac64_bundle_checksum ?></td>
418 </tr>
419 <tr>
420 <td>Linux 32-bit</td>
421 <td>
422 <a onClick="return onDownload(this)" id="linux-bundle32"
Ricardo Cervera54d2ca32014-08-27 08:48:49 -0700423 href="https://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 -0800424 </td>
425 <td><?cs var:sdk.linux32_bundle_bytes ?> bytes</td>
426 <td><?cs var:sdk.linux32_bundle_checksum ?></td>
427 </tr>
428 <tr>
429 <td>Linux 64-bit</td>
430 <td>
431 <a onClick="return onDownload(this)" id="linux-bundle64"
Ricardo Cervera54d2ca32014-08-27 08:48:49 -0700432 href="https://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 -0800433 </td>
434 <td><?cs var:sdk.linux64_bundle_bytes ?> bytes</td>
435 <td><?cs var:sdk.linux64_bundle_checksum ?></td>
Scott Maindb3678b2012-10-23 14:13:41 -0700436 </tr>
437 </table>
438
439
Rich Slogarfe4dd522014-11-03 15:16:34 -0800440
441
442
443
Scott Maindb3678b2012-10-23 14:13:41 -0700444
Scott Main55d99832012-11-12 23:03:59 -0800445</div><!-- end pax -->
Scott Maindb3678b2012-10-23 14:13:41 -0700446
447
Scott Main55d99832012-11-12 23:03:59 -0800448
449</div><!-- end col-13 for lower-half content -->
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700450
451
452
453
Scott Maine4d8f1b2012-06-21 18:03:05 -0700454<script>
Scott Main55d99832012-11-12 23:03:59 -0800455 if (location.hash == "#Requirements") {
456 $('.reqs').show();
457 } else if (location.hash == "#ExistingIDE") {
458 $('.ide').show();
459 }
Scott Maindb3678b2012-10-23 14:13:41 -0700460
Scott Maine4d8f1b2012-06-21 18:03:05 -0700461 var os;
Scott Main11ac05b2012-11-15 14:57:44 -0800462 var bundlename;
Scott Maindb3678b2012-10-23 14:13:41 -0700463 var $toolslink;
464
Scott Maine4d8f1b2012-06-21 18:03:05 -0700465 if (navigator.appVersion.indexOf("Win")!=-1) {
466 os = "Windows";
Scott Main11ac05b2012-11-15 14:57:44 -0800467 bundlename = '#win-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700468 $toolslink = $('#win-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700469 } else if (navigator.appVersion.indexOf("Mac")!=-1) {
470 os = "Mac";
Scott Main11ac05b2012-11-15 14:57:44 -0800471 bundlename = '#mac-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700472 $toolslink = $('#mac-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700473 } else if (navigator.appVersion.indexOf("Linux")!=-1) {
474 os = "Linux";
Scott Main11ac05b2012-11-15 14:57:44 -0800475 bundlename = '#linux-bundle';
Scott Maindb3678b2012-10-23 14:13:41 -0700476 $toolslink = $('#linux-tools');
Scott Maine4d8f1b2012-06-21 18:03:05 -0700477 }
The Android Open Source Project88b60792009-03-03 19:28:42 -0800478
Scott Maine4d8f1b2012-06-21 18:03:05 -0700479 if (os) {
Scott Mainf973ced2012-06-28 11:56:01 -0700480 $('#not-supported').hide();
Scott Maindb3678b2012-10-23 14:13:41 -0700481
Rich Slogarfe4dd522014-11-03 15:16:34 -0800482 /* set up primary Android Studio download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700483 $('#download-bundle-button').show();
Rich Slogarfe4dd522014-11-03 15:16:34 -0800484 $('#download-bundle-button').append("Download Android Studio <br/><span class='small'>with the Android SDK for " + os + "</span>");
Scott Main11ac05b2012-11-15 14:57:44 -0800485 $('#download-bundle-button').click(function() {return onDownload(this,true,true);}).attr('href', bundlename);
Scott Maindb3678b2012-10-23 14:13:41 -0700486
487 /* set up sdk tools only button */
488 $('#download-tools-button').show();
smain@google.come39012b2014-06-13 11:41:28 -0700489 $('#download-tools-button').append("Download the stand-alone Android SDK Tools for " + os);
Scott Main11ac05b2012-11-15 14:57:44 -0800490 $('#download-tools-button').click(function() {return onDownload(this,true);}).attr('href', $toolslink.attr('href'));
Scott Maine4d8f1b2012-06-21 18:03:05 -0700491 } else {
492 $('.pax').show();
Scott Maine4d8f1b2012-06-21 18:03:05 -0700493 }
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700494
495
Scott Main11ac05b2012-11-15 14:57:44 -0800496 function onDownload(link, button, bundle) {
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700497
Scott Main11ac05b2012-11-15 14:57:44 -0800498 /* set text for download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700499 if (button) {
500 $("#downloadForRealz").html($(link).text());
501 } else {
502 $("#downloadForRealz").html("Download " + $(link).text());
Scott Main11ac05b2012-11-15 14:57:44 -0800503 }
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700504
Scott Main11ac05b2012-11-15 14:57:44 -0800505 /* if it's a bundle, show the 32/64-bit picker */
506 if (bundle) {
Rich Slogarfe4dd522014-11-03 15:16:34 -0800507 $("#downloadForRealz").attr('Eclipse ADT Bundle','true');
Scott Main11ac05b2012-11-15 14:57:44 -0800508 if ($("#downloadForRealz").text().indexOf("Mac") == -1) {
509 $("p#bitpicker").show();
510 } else {
511 /* mac is always 64 bit, so set it checked */
512 $("p#bitpicker input[value=64]").attr('checked', true);
513 }
514 /* save link name until the bit version is chosen */
515 $("#downloadForRealz").attr('name',$(link).attr('href'));
516 } else {
517 /* if not using bundle, set download button to ignore bitpicker and set url */
518 $("#downloadForRealz").attr('bundle','false');
519 $("#downloadForRealz").attr('href',$(link).attr('href'));
520 /* set picker checked as a fake default */
521 $("p#bitpicker input[value=64]").attr('checked', true);
Scott Maindb3678b2012-10-23 14:13:41 -0700522 $("a#next-link").html("Setting Up an Existing IDE").attr('href',toRoot + 'sdk/installing/index.html');
523 }
Scott Maindb3678b2012-10-23 14:13:41 -0700524
525 $("#tos").fadeIn('fast');
526 $("#landing").fadeOut('fast');
527
528 location.hash = "download";
529 return false;
530 }
531
532
533 function onAgreeChecked() {
Scott Main11ac05b2012-11-15 14:57:44 -0800534 /* verify that the TOS is agreed and a bit version is chosen */
535 if ($("input#agree").is(":checked") && $("#bitpicker input:checked").length) {
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700536
Scott Main11ac05b2012-11-15 14:57:44 -0800537 /* if downloading the bundle */
538 if ($("#downloadForRealz").attr('bundle')) {
539 /* construct the name of the link we want based on the bit version */
540 linkId = $("a#downloadForRealz").attr("name") + $("#bitpicker input:checked").val();
541 /* set the real url for download */
542 $("a#downloadForRealz").attr("href", $(linkId).attr("href"));
543 }
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700544
Scott Main11ac05b2012-11-15 14:57:44 -0800545 /* reveal the download button */
Scott Maindb3678b2012-10-23 14:13:41 -0700546 $("a#downloadForRealz").removeClass('disabled');
547 } else {
548 $("a#downloadForRealz").addClass('disabled');
549 }
550 }
551
552 function onDownloadForRealz(link) {
Scott Main11ac05b2012-11-15 14:57:44 -0800553 if ($("input#agree").is(':checked') && $("#bitpicker input:checked").length) {
Scott Maindb3678b2012-10-23 14:13:41 -0700554 $("div.sdk-terms").slideUp();
smain@google.com95948b82014-06-16 19:24:25 -0700555 $("h1#tos-header").text('Now redirecting to the install instructions...');
Scott Mainc29b3f52014-05-30 21:18:30 -0700556 $("#sdk-terms-form,.sdk-terms-intro").fadeOut('slow', function() {
557 setTimeout(function() {
558 if ($("#downloadForRealz").attr('bundle') == 'true') {
559 // User downloaded the ADT Bundle
560 window.location = "/sdk/installing/index.html?pkg=adt";
561 } else {
562 // User downloaded the SDK Tools
563 window.location = "/sdk/installing/index.html?pkg=tools";
564 }
565 }, 500);
566 });
smain@google.com633f3222014-10-03 15:49:45 -0700567 ga('send', 'event', 'SDK', 'IDE and Tools', $("#downloadForRealz").html());
Scott Maindb3678b2012-10-23 14:13:41 -0700568 return true;
569 } else {
Scott Main11ac05b2012-11-15 14:57:44 -0800570 $("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#258AAF"}, 200,
571 function() {$("label#agreeLabel,#bitpicker input").parent().stop().animate({color: "#222"}, 200)}
Scott Maindb3678b2012-10-23 14:13:41 -0700572 );
573 return false;
574 }
575 }
576
577 $(window).hashchange( function(){
Scott Maindb3678b2012-10-23 14:13:41 -0700578 if (location.hash == "") {
579 location.reload();
580 }
581 });
582
Scott Maina1b358a2010-06-24 16:36:54 -0700583</script>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700584
Scott Maine4d8f1b2012-06-21 18:03:05 -0700585
Scott Maindb3678b2012-10-23 14:13:41 -0700586
587</div><!-- end the wrapper used for relative/absolute positions -->
588<?cs # THIS DIV WAS OPENED IN INDEX.JD ?>
589
590
591
592
Scott Main58286dc2011-01-17 18:23:21 -0800593 <?cs else ?> <?cs # end if online ?>
Scott Maina1b358a2010-06-24 16:36:54 -0700594
Scott Main17e47ad2011-05-27 09:52:19 -0700595 <?cs if:sdk.preview ?><?cs # it's preview offline docs ?>
Scott Maincc089092011-01-17 16:44:10 -0800596 <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming
597 Android 3.0 release, to give you a head-start on developing applications for it.
598 </p>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700599
Scott Maincc089092011-01-17 16:44:10 -0800600 <p>See the <a
601 href="<?cs var:toroot ?>sdk/preview/start.html">Getting Started</a> document for more information
602 about how to set up the preview SDK and get started.</p>
603 <style type="text/css">
604 .non-preview { display:none; }
605 </style>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700606
Scott Main17e47ad2011-05-27 09:52:19 -0700607 <?cs else ?><?cs # it's normal offline docs ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700608
Scott Maine4d8f1b2012-06-21 18:03:05 -0700609 <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?>
610 <?cs call:tag_list(root.descr) ?>
Scott Main17e47ad2011-05-27 09:52:19 -0700611 <style type="text/css">
Scott Maine4d8f1b2012-06-21 18:03:05 -0700612 body .offline { display:block; }
613 body .online { display:none; }
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700614 </style>
Scott Maine4d8f1b2012-06-21 18:03:05 -0700615 <script>
616 $('.reqs').show();
617 </script>
Scott Maincc089092011-01-17 16:44:10 -0800618 <?cs /if ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700619
Scott Main58286dc2011-01-17 18:23:21 -0800620 <?cs /if ?> <?cs # end if/else online ?>
Ricardo Cerverafd0be922014-03-25 12:33:33 -0700621
Scott Maincc089092011-01-17 16:44:10 -0800622<?cs /if ?> <?cs # end if/else NDK ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700623
Scott Maincc089092011-01-17 16:44:10 -0800624<?cs /if ?> <?cs # end if/else redirect ?>
Dirk Dougherty82a28812009-08-05 19:09:16 -0700625
The Android Open Source Project88b60792009-03-03 19:28:42 -0800626
The Android Open Source Project88b60792009-03-03 19:28:42 -0800627</div><!-- end jd-content -->
628
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700629<?cs if:!sdk.redirect ?>
Scott Maincc089092011-01-17 16:44:10 -0800630<?cs include:"footer.cs" ?>
Dirk Dougherty19a4bd12009-04-24 11:30:32 -0700631<?cs /if ?>
632
Scott Maincc089092011-01-17 16:44:10 -0800633</div><!-- end g-unit -->
The Android Open Source Project88b60792009-03-03 19:28:42 -0800634
635<?cs include:"trailer.cs" ?>
636
Dirk Dougherty8f6949b2013-12-03 18:49:24 -0800637<!-- Start of Tag -->
638<script type="text/javascript">
639var axel = Math.random() + "";
640var a = axel * 10000000000000;
641document.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>');
642</script>
643<noscript>
644<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>
645</noscript>
646<!-- End of Tag -->
The Android Open Source Project88b60792009-03-03 19:28:42 -0800647</body>
648</html>
649
650
651