sdkpage.cs revision 462cc37742b4e7d8e348ac9264eb3e5e35cbfeef
1<?cs include:"doctype.cs" ?> 2<?cs include:"macros.cs" ?> 3<html> 4<?cs if:sdk.redirect ?> 5 <head> 6 <title>Redirecting...</title> 7 <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs 8 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs 9 else ?><?cs var:sdk.current ?>/index.html<?cs /if ?>"> 10 <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 21<?cs if:sdk.redirect ?> 22 23<div class="g-unit"> 24 <div id="jd-content"> 25 <p>Redirecting to 26 <a href="<?cs var:toroot ?>sdk/<?cs 27 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs 28 else ?><?cs var:sdk.current ?>/index.html<?cs /if ?>">sdk/<?cs 29 if:sdk.redirect.path ?><?cs var:sdk.redirect.path ?><?cs 30 else ?><?cs var:sdk.current ?>/index.html<?cs /if ?> 31 </a> ...</p> 32<?cs else ?> 33<div class="g-unit" id="doc-content" > 34 <div id="jd-header" class="guide-header" > 35 <span class="crumb"> </span> 36 <h1><?cs if:android.whichdoc == "online" ?>Download the <?cs /if ?><?cs var:page.title ?></h1> 37 </div> 38 39 <div id="jd-content"> 40 <?cs 41 if:ndk ?><p><em><?cs 42 var:ndk.date ?></em></p><?cs 43 else ?><?cs 44 if:android.whichdoc == "online" ?><p><em><?cs 45 var:sdk.date ?></em></p><?cs 46 /if ?><?cs 47 /if ?> 48 49<?cs if:sdk.not_latest_version ?> 50 <div class="special"> 51 <p><strong>This is NOT the current Android SDK release.</strong></p> 52 <p><a href="/sdk/index.html">Download the current Android SDK</a></p> 53 </div> 54<?cs /if ?> 55 56<?cs if:android.whichdoc != "online" && !android.preview ?> 57 58<!-- <p>The sections below provide an overview of how to install the SDK package. </p> --> 59 60<?cs else ?> 61 <?cs if:ndk ?> 62 63<p>The Android NDK is a companion tool to the Android SDK that lets Android 64application developers build performance-critical portions of their apps in 65native code. It is designed for use <em>only</em> in conjunction with the 66Android SDK, so if you have not already installed the latest Android SDK, please 67do so before downloading the NDK. Also, please read <a href="#overview">What is 68the Android NDK?</a> to get an understanding of what the NDK offers and whether 69it will be useful to you.</p> 70 71<p>Select the download package that is appropriate for your development 72computer. </p> 73 74 <table class="download"> 75 <tr> 76 <th>Platform</th> 77 <th>Package</th> 78 <th>Size</th> 79 <th>MD5 Checksum</th> 80 </tr> 81 <tr> 82 <td>Windows</td> 83 <td> 84 <a href="http://dl.google.com/android/ndk/<?cs var:ndk.win_download ?>"><?cs var:ndk.win_download ?></a> 85 </td> 86 <td><?cs var:ndk.win_bytes ?> bytes</td> 87 <td><?cs var:ndk.win_checksum ?></td> 88 </tr> 89 <tr class="alt-color"> 90 <td>Mac OS X (intel)</td> 91 <td> 92 <a href="http://dl.google.com/android/ndk/<?cs var:ndk.mac_download ?>"><?cs var:ndk.mac_download ?></a> 93 </td> 94 <td><?cs var:ndk.mac_bytes ?> bytes</td> 95 <td><?cs var:ndk.mac_checksum ?></td> 96 </tr> 97 <tr> 98 <td>Linux 32/64-bit (x86)</td> 99 <td> 100 <a href="http://dl.google.com/android/ndk/<?cs var:ndk.linux_download ?>"><?cs var:ndk.linux_download ?></a> 101 </td> 102 <td><?cs var:ndk.linux_bytes ?> bytes</td> 103 <td><?cs var:ndk.linux_checksum ?></td> 104 </tr> 105 </table> 106 107 <?cs else ?><?cs if:android.whichdoc == "online" ?> 108 109 <?cs if:sdk.preview ?> 110 <p>Welcome developers! The next release of the Android platform will be 111 Android 1.6 and we are pleased to announce the availability of an early look 112 SDK to give you a head-start on developing applications for it. </p> 113 114 <p>The Android <?cs var:sdk.preview.version ?> platform includes a variety of 115 improvements and new features for users and developers. Additionally, the SDK 116 itself introduces several new capabilities that enable you to develop 117 applications more efficiently. See the <a href="features.html">Android <?cs 118 var:sdk.preview.version ?> Platform Highlights</a> document for a list of 119 highlights.</p> 120<?cs /if ?> 121<?cs # end if NDK ... the following is for the SDK ?> 122 123 <div class="toggle-content special"> 124 <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"> 128 <ul> 129 <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 — 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> 141 <p>If you are currently using the Android 1.6 SDK, you do not need 142 to install the new SDK, because your existing SDK includes the Android SDK and 143 AVD Manager tool. To develop against Android 2.0, for example, you can 144 just download the Android 2.0 platform into your existing SDK. Refer to 145 <a href="adding-components.html">Adding SDK Components</a>.</p> 146 </div> 147 148 <a href='#' class='toggle-content-button show' onclick="toggleContent(this);return false;"> 149 <span>show more</span><span style='display:none'>show less</span> 150 </a> 151 </div> 152 153 <p>If you are new to the Android SDK, please read the <a href="#quickstart">Quick Start</a>, 154 below, for an overview of the installation process and how to set up your environment.</p> 155 156 157 <table class="download"> 158 <tr> 159 <th>Platform</th> 160 <th>Package</th> 161 <th>Size</th> 162 <th>MD5 Checksum</th> 163 </tr> 164 <tr> 165 <td>Windows</td> 166 <td> 167 <a href="<?cs var:toroot ?>sdk/download.html?v=<?cs var:sdk.win_download ?>"><?cs var:sdk.win_download ?></a> 168 </td> 169 <td><?cs var:sdk.win_bytes ?> bytes</td> 170 <td><?cs var:sdk.win_checksum ?></td> 171 </tr> 172 <tr class="alt-color"> 173 <td>Mac OS X (intel)</td> 174 <td> 175 <a href="<?cs var:toroot ?>sdk/download.html?v=<?cs var:sdk.mac_download ?>"><?cs var:sdk.mac_download ?></a> 176 </td> 177 <td><?cs var:sdk.mac_bytes ?> bytes</td> 178 <td><?cs var:sdk.mac_checksum ?></td> 179 </tr> 180 <tr> 181 <td>Linux (i386)</td> 182 <td> 183 <a href="<?cs var:toroot ?>sdk/download.html?v=<?cs var:sdk.linux_download ?>"><?cs var:sdk.linux_download ?></a> 184 </td> 185 <td><?cs var:sdk.linux_bytes ?> bytes</td> 186 <td><?cs var:sdk.linux_checksum ?></td> 187 </tr> 188 <?cs if:adt.zip_download ?> 189 <tr class="alt-color"> 190 <td>ADT Plugin for Eclipse <?cs var:adt.zip_version ?></td> 191 <td> 192 <a href="http://dl.google.com/android/<?cs var:adt.zip_download ?>"><?cs var:adt.zip_download ?></a> 193 </td> 194 <td><?cs var:adt.zip_bytes ?> bytes</td> 195 <td><?cs var:adt.zip_checksum ?></td> 196 </tr> 197 <?cs /if ?> 198 </table> 199 200 <?cs /if ?> 201 <?cs /if ?> 202<?cs /if ?> 203 204<?cs if:android.whichdoc != "online" && sdk.preview ?> 205 <p>Welcome developers! The next release of the Android platform will be 206Android <?cs var:sdk.preview.version ?> and we are pleased to announce the 207availability of an early look SDK to give you a head-start on developing 208applications for it. </p> 209 210 <p>The Android <?cs var:sdk.preview.version ?> platform includes a variety of 211improvements and new features for users and developers. Additionally, the SDK 212itself introduces several new capabilities that enable you to develop 213applications more efficiently. See the <a 214href="http://developer.android.com/sdk/preview/features.html">Android 215<?cs var:sdk.preview.version ?> Highlights</a> document for a list of 216highlights.</p> 217<?cs /if ?> 218 219 <?cs call:tag_list(root.descr) ?> 220 221<?cs /if ?> 222</div><!-- end jd-content --> 223 224<?cs if:!sdk.redirect ?> 225 <?cs include:"footer.cs" ?> 226<?cs /if ?> 227 228</div><!-- end doc-content --> 229 230<?cs include:"trailer.cs" ?> 231 232</body> 233</html> 234 235 236 237