blob: a60cbfaa5285f57ebc2b64fe034b76e678b62b1e [file] [log] [blame]
Dirk Doughertyb8907292016-03-10 09:43:36 -08001page.title=Test on a Device
2meta.tags="preview", "nexus","system image"
3page.tags="preview", "androidn"
Dirk Dougherty43eb9512016-03-03 14:53:16 -08004page.image=images/cards/card-n-downloads_2x.png
Dirk Dougherty5748bc42016-02-06 18:24:32 -08005
6@jd:body
7
8<div style="position:relative; min-height:600px">
9
10 <div class="wrap" id="tos" style="position:absolute;display:none;width:inherit;">
11
Joe Fernandezf05d4982016-02-29 21:53:04 -080012 <p class="sdk-terms-intro">Before downloading and installing components of
13 the Android Preview SDK, you must agree to the following terms and
14 conditions.</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -080015
16 <h2 class="norule">Terms and Conditions</h2>
17
18 <div class="sdk-terms" onfocus="this.blur()" style="width:678px">
19This is the Android SDK Preview License Agreement (the “License Agreement”).
20
211. Introduction
22
231.1 The Android SDK Preview (referred to in the License Agreement as the “Preview” and specifically including the Android system files, packaged APIs, and Preview library files, 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 Preview.
24
251.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.
26
Joe Fernandez7c743c42016-03-07 20:00:34 -0800271.3 “Android-compatible” means any Android implemation that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).
28
291.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080030
312. Accepting the License Agreement
32
332.1 In order to use the Preview, you must first agree to the License Agreement. You may not use the Preview if you do not accept the License Agreement.
34
352.2 By clicking to accept and/or using the Preview, you hereby agree to the terms of the License Agreement.
36
372.3 You may not use the Preview and may not accept the License Agreement if you are a person barred from receiving the Preview under the laws of the United States or other countries including the country in which you are resident or from which you use the Preview.
38
392.4 If you will use the Preview 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 Preview on behalf of your employer or other entity.
40
413. Preview License from Google
42
Joe Fernandez7c743c42016-03-07 20:00:34 -0800433.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the Preview solely to develop applications for compatible implementations of Android.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080044
Joe Fernandez7c743c42016-03-07 20:00:34 -0800453.2 You may not use this Preview to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this Preview is not used for that purpose.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080046
Joe Fernandez7c743c42016-03-07 20:00:34 -0800473.3 You agree that Google or third parties owns all legal right, title and interest in and to the Preview, including any Intellectual Property Rights that subsist in the Preview. "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.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080048
Joe Fernandez7c743c42016-03-07 20:00:34 -0800493.4 You may not use the Preview 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 Preview or any part of the Preview; or (b) load any part of the Preview onto a mobile handset or any other hardware device except a personal computer, combine any part of the Preview with other software, or distribute any software or device incorporating a part of the Preview.
Dirk Dougherty5748bc42016-02-06 18:24:32 -080050
513.5 Use, reproduction and distribution of components of the Preview 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.
52
533.6 You agree that the form and nature of the Preview that Google provides may change without prior notice to you and that future versions of the Preview may be incompatible with applications developed on previous versions of the Preview. You agree that Google may stop (permanently or temporarily) providing the Preview (or any features within the Preview) to you or to users generally at Google's sole discretion, without prior notice to you.
54
553.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.
56
573.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 Preview.
58
594. Use of the Preview by You
60
614.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 Preview, including any intellectual property rights that subsist in those applications.
62
634.2 You agree to use the Preview 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).
64
654.3 You agree that if you use the Preview 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.
66
674.4 You agree that you will not engage in any activity with the Preview, 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.
68
694.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.
70
714.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.
72
734.7 The Preview is in development, and your testing and feedback are an important part of the development process. By using the Preview, you acknowledge that implementation of some features are still under development and that you should not rely on the Preview having the full functionality of a stable release. You agree not to publicly distribute or ship any application using this Preview as this Preview will no longer be supported after the official Android SDK is released.
74
755. Your Developer Credentials
76
775.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.
78
796. Privacy and Information
80
816.1 In order to continually innovate and improve the Preview, 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 Preview are being used and how they are being used. Before any of this information is collected, the Preview will notify you and seek your consent. If you withhold consent, the information will not be collected.
82
836.2 The data collected is examined in the aggregate to improve the Preview and is maintained in accordance with Google's Privacy Policy located at http://www.google.com/policies/privacy/.
84
857. Third Party Applications
86
877.1 If you use the Preview 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.
88
897.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.
90
917.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.
92
938. Using Google APIs
94
958.1 Google APIs
96
978.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.
98
998.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.
100
1019. Terminating the License Agreement
102
1039.1 the License Agreement will continue to apply until terminated by either you or Google as set out below.
104
1059.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the Preview and any relevant developer credentials.
106
1079.3 Google may at any time, terminate the License Agreement, with or without cause, upon notice to you.
108
1099.4 The License Agreement will automatically terminate without notice or other action upon the earlier of:
110(A) when Google ceases to provide the Preview or certain parts of the Preview to users in the country in which you are resident or from which you use the service; and
111(B) Google issues a final release version of the Android SDK.
112
1139.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 Preview, and the provisions of paragraphs 10, 11, 12 and 14 shall survive indefinitely.
114
11510. DISCLAIMERS
116
11710.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE PREVIEW IS AT YOUR SOLE RISK AND THAT THE PREVIEW IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
118
11910.2 YOUR USE OF THE PREVIEW AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE PREVIEW 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 PREVIEW IS NOT A STABLE RELEASE AND 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.
120
12110.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.
122
12311. LIMITATION OF LIABILITY
124
12511.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.
126
12712. Indemnification
128
12912.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 attorneys’ fees) arising out of or accruing from (a) your use of the Preview, (b) any application you develop on the Preview 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.
130
13113. Changes to the License Agreement
132
13313.1 Google may make changes to the License Agreement as it distributes new versions of the Preview. When these changes are made, Google will make a new version of the License Agreement available on the website where the Preview is made available.
134
13514. General Legal Terms
136
13714.1 the License Agreement constitutes the whole legal agreement between you and Google and governs your use of the Preview (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 Preview.
138
13914.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.
140
14114.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.
142
14314.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.
144
14514.5 EXPORT RESTRICTIONS. THE PREVIEW 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 PREVIEW. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
146
14714.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.
148
14914.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.
150 </div><!-- sdk terms -->
151
152
153
154 <div id="sdk-terms-form">
155 <p>
156 <input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" />
157 <label id="agreeLabel" for="agree">I have read and agree with the above terms and conditions</label>
158 </p>
159 <p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p>
160 </div>
161
162
163 </div><!-- end TOS -->
164
165
166 <div id="landing">
167
168<div id="qv-wrapper">
169 <div id="qv">
170 <h2>In this document</h2>
171 <ol>
Dirk Doughertyb8907292016-03-10 09:43:36 -0800172 <li><a href="#device-preview">Set up a hardware device</a>
Joe Fernandez7c743c42016-03-07 20:00:34 -0800173 <ol>
smain@google.com3254f8c2016-03-08 17:25:50 -0800174 <li><a href="#ota">Get over-the-air updates</a></li>
Dirk Doughertyb8907292016-03-10 09:43:36 -0800175 <li><a href="#flash">Manually flash a device</a></li>
176 <li><a href="#revertDevice">Uninstalling</a></li>
Joe Fernandez7c743c42016-03-07 20:00:34 -0800177 </ol>
178 </li>
Dirk Doughertyb8907292016-03-10 09:43:36 -0800179 <li><a href="#setupAVD">Set up an emulator</a></li>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800180 </ol>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800181 </div>
182</div>
183
Dirk Doughertyb8907292016-03-10 09:43:36 -0800184<p>
185 To run and test your app on the new platform you need to set up an Android N
186 runtime environment. You can do that in either of these ways:
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800187</p>
188
Dirk Doughertyb8907292016-03-10 09:43:36 -0800189<ul>
190 <li>Install Android N on a supported hardware device, or</li>
191 <li>Set up an Android emulator running Android N</li>
192</ul>
193
194<p>
195 If you want an environment for basic compatibility testing of your app on the
196 new platform, all you need is your current APK and a hardware device or
197 emulator. You don't necessarily need to update your full development
198 environment to do basic testing.
199</p>
200
201<p>
202 If you want to modify your app to target Android N or use new Android N APIs,
203 you need to set up a development environment that's updated to support
204 Android N. <a href="{@docRoot}preview/setup-sdk.html">Set Up to Develop for
205 Android N</a> has details.
Joe Fernandez7c743c42016-03-07 20:00:34 -0800206</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800207
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800208
Dirk Doughertyb8907292016-03-10 09:43:36 -0800209<h2 id="device-preview">Set up a hardware device</h2>
Joe Fernandez7c743c42016-03-07 20:00:34 -0800210
Dirk Doughertyb8907292016-03-10 09:43:36 -0800211<p>
212 The N Developer Preview offers system updates for a range of hardware devices
213 that you can use for testing your app, from phones to tablets and TV.
214</p>
215
216<p>
217 If you have access to a supported device, you can update it to a Developer
218 Preview milestone build in one of these ways:
219</p>
220
221<ul>
Andrew Solovay6cab8f52016-07-13 12:13:08 -0700222 <li>
223 <strong>Enroll the device in automatic OTA system updates</strong> through
224 the <a href="https://g.co/androidbeta">Android Beta Program</a>. Once
225 enrolled, your device will receive regular over-the-air (OTA) updates of
226 all milestone builds in the N Developer Preview. When the next version of
227 Android is released, your device will automatically update to the final
228 version. This approach is recommended because it lets you seamlessly
229 transition from your current environment, through the various releases of
230 the N Developer Preview, to the release version.
231 </li>
232
233 <li>
234 <strong>Download a Developer Preview system image and flash the
235 device</strong>. OTA updates are not provided automatically for devices
236 that you flash manually, but you can enroll those devices in Android Beta
237 Program to get OTA updates. When the next version of Android is released,
238 you can download the final device image from the <a href=
239 "https://developers.google.com/android/nexus/images" type=
240 "external-link">factory images</a> page.
241 </li>
Dirk Doughertyb8907292016-03-10 09:43:36 -0800242</ul>
243
244<h3 id="ota">Enroll the device in automatic OTA updates</h3>
245
246<p>
247 If you have access to a supported device (see the list in the Downloads
248 table), you can receive over-the-air updates to preview versions of Android
Andrew Solovay6cab8f52016-07-13 12:13:08 -0700249 by enrolling that device in the <a href="https://g.co/androidbeta">Android
250 Beta Program</a>. These updates are automatically downloaded and will update
251 your device just like official system updates. When the next version of
252 Android is released, the device will automatically update to the production
253 version.
Dirk Doughertyb8907292016-03-10 09:43:36 -0800254</p>
255
256<p>
257 You can un-enroll a device at any time. The device will receive an OTA update
258 to the most recent production version of Android available for that device
259 (for example, Android 6.0 Marshmallow). The update requires a full device
260 reset, so user data on the device will be removed. Make sure to <strong>back
261 up important data</strong> before un-enrolling a device.
262</p>
Joe Fernandez7c743c42016-03-07 20:00:34 -0800263
264<p>
smain@google.coma329ffd2016-03-09 00:00:37 -0800265 For more information and to enroll your device, see
Joe Fernandez7c743c42016-03-07 20:00:34 -0800266 the <a href="https://g.co/androidbeta">Android Beta Program</a> web site.
267</p>
268
Dirk Doughertyb8907292016-03-10 09:43:36 -0800269<p class="note"><strong>Note:</strong>
270 Un-enrolling requires a full device reset. Back up
271 important data first.
Joe Fernandez7c743c42016-03-07 20:00:34 -0800272</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800273
Dirk Doughertyb8907292016-03-10 09:43:36 -0800274<h3 id="flash">Flashing a device manually</h3>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800275
Dirk Doughertyb8907292016-03-10 09:43:36 -0800276<p>
277 At any time you can download the latest Developer Preview system image and
278 manually flash it to your device. See the table below to download the system
Dirk Doughertyef6d9772016-03-10 17:37:53 -0800279 image for your test device. Manually flashing a device is useful if you need
280 precise control over the test environment or need to reinstall frequently,
Joe Fernandezf275f7b2016-03-15 17:44:58 -0700281 such as for automated testing.
Dirk Doughertyb8907292016-03-10 09:43:36 -0800282</p>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800283
Dirk Doughertyef6d9772016-03-10 17:37:53 -0800284<!-- You can flash by ota or system image --><p>
Dirk Doughertyb8907292016-03-10 09:43:36 -0800285 Installing a system image on a device <strong>removes all data from the
286 device</strong>, so you should back up your data first.
287</p>
smain@google.com3254f8c2016-03-08 17:25:50 -0800288
Dirk Doughertyb8907292016-03-10 09:43:36 -0800289<p>
290 After you back up your device data and download the system image below that
291 matches your device, follow the instructions at <a href=
292 "https://developers.google.com/android/nexus/images#instructions">developers.google.com/android</a>
293 to flash the image onto your device.
294</p>
smain@google.com3254f8c2016-03-08 17:25:50 -0800295
Dirk Doughertyef6d9772016-03-10 17:37:53 -0800296<p>
297 Manually flashed system images <strong>do not
298 automatically receive OTA updates</strong> to later Developer Preview
Andrew Solovay6cab8f52016-07-13 12:13:08 -0700299 milestone builds or the final, production version. Make sure to keep your
300 environment up-to-date and flash a
Dirk Doughertyb8907292016-03-10 09:43:36 -0800301 new system image at each Developer Preview milestone.
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800302</p>
303
Dirk Doughertyef6d9772016-03-10 17:37:53 -0800304<p>
Joe Fernandezf275f7b2016-03-15 17:44:58 -0700305 If you decide you want to get OTA updates after manually flashing a device,
Dirk Doughertyef6d9772016-03-10 17:37:53 -0800306 all you need to do is enroll the device in the <a href="https://g.co/androidbeta">Android
307 Beta Program</a>. You can enroll the device at any time to receive the next Preview
Joe Fernandezf275f7b2016-03-15 17:44:58 -0700308 update over the air.
Dirk Doughertyef6d9772016-03-10 17:37:53 -0800309</p>
310
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800311<table>
312 <tr>
313 <th scope="col">Device</th>
314 <th scope="col">Download / Checksums</th>
315 </tr>
Joe Fernandezf05d4982016-02-29 21:53:04 -0800316
Joe Fernandez7c743c42016-03-07 20:00:34 -0800317 <tr id="bullhead">
Joe Fernandezf05d4982016-02-29 21:53:04 -0800318 <td>Nexus 5X <br>"bullhead"</td>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800319 <td><a href="#top" onclick="onDownload(this)"
Andrew Solovay5ba9c492016-07-14 15:51:58 -0700320 >bullhead-npd90g-factory-7a0ca1bc.tgz</a><br>
321 MD5: e7a9a3061335c1e0c8be2588f13290af<br>
322 SHA-1: 7a0ca1bcfa51bbefde34243603bc79c7dec214a1
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800323 </td>
324 </tr>
Joe Fernandezf05d4982016-02-29 21:53:04 -0800325
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800326 <tr id="shamu">
Joe Fernandez7c743c42016-03-07 20:00:34 -0800327 <td>Nexus 6 <br>"shamu"</td>
328 <td><a href="#top" onclick="onDownload(this)"
Andrew Solovay5ba9c492016-07-14 15:51:58 -0700329 >shamu-npd90g-factory-f7a4e3a9.tgz</a><br>
330 MD5: 2fb572ddcfca67bb1d741be97492a9ed<br>
331 SHA-1: f7a4e3a96c797827492998e855c8f9efbfc8559a
Joe Fernandez7c743c42016-03-07 20:00:34 -0800332 </td>
333 </tr>
334
335 <tr id="angler">
Joe Fernandezf05d4982016-02-29 21:53:04 -0800336 <td>Nexus 6P <br>"angler"</td>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800337 <td><a href="#top" onclick="onDownload(this)"
Andrew Solovay5ba9c492016-07-14 15:51:58 -0700338 >angler-npd90g-factory-cd9ac81e.tgz</a><br>
339 MD5: 2370c30f3ef1d0684c1de5216a5d90fe<br>
340 SHA-1: cd9ac81ec7f4a646ac6054eecbf2ea4c4b89b054
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800341 </td>
342 </tr>
Joe Fernandezf05d4982016-02-29 21:53:04 -0800343
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800344 <tr id="volantis">
345 <td>Nexus 9 <br>"volantis"</td>
346 <td><a href="#top" onclick="onDownload(this)"
Andrew Solovay5ba9c492016-07-14 15:51:58 -0700347 >volantis-npd90g-factory-41b55406.tgz</a><br>
348 MD5: cefa78950141da2a7c75e887717e3c8f<br>
349 SHA-1: 41b554060263a7ef16e4be8422cbd6caca26e00f
Joe Fernandez49b5ead2016-03-08 18:35:18 -0800350 </td>
351 </tr>
352
353 <tr id="volantisg">
354 <td>Nexus 9G <br>"volantisg"</td>
355 <td><a href="#top" onclick="onDownload(this)"
Andrew Solovay5ba9c492016-07-14 15:51:58 -0700356 >volantisg-npd90g-factory-610492be.tgz</a><br>
357 MD5: 2f36dc0d0fab02ab78be500677ec239f<br>
358 SHA-1: 610492bedfc4127023040ecb2c89239a78a900ad
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800359 </td>
360 </tr>
361
362 <tr id="fugu">
363 <td>Nexus Player <br>"fugu"</td>
364 <td><a href="#top" onclick="onDownload(this)"
Andrew Solovay5ba9c492016-07-14 15:51:58 -0700365 >fugu-npd90g-factory-0fe95694.tgz</a><br>
366 MD5: f4cb48f919e4c29c631de21416c612e2<br>
367 SHA-1: 0fe95694e7bc41e4c3ac0e4438cd77102a0aa8b4
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800368 </td>
369 </tr>
370
Joe Fernandez7c743c42016-03-07 20:00:34 -0800371 <tr id="ryu">
372 <td>Pixel C <br>"ryu"</td>
373 <td><a href="#top" onclick="onDownload(this)"
Andrew Solovay5ba9c492016-07-14 15:51:58 -0700374 >ryu-npd90g-factory-f4da981c.tgz</a><br>
375 MD5: d9f0e40b6c20d274831e8a7d285fd887<br>
376 SHA-1: f4da981c70576133321e2858e52fe2c990e68a75
Joe Fernandez7c743c42016-03-07 20:00:34 -0800377 </td>
378 </tr>
Joe Fernandez922b5e42016-04-12 17:36:49 -0700379
Dirk Doughertyb8907292016-03-10 09:43:36 -0800380 <tr id="seed">
381 <td>General Mobile 4G (Android One) <br>"seed"</td>
382 <td><a href="#top" onclick="onDownload(this)"
Andrew Solovay5ba9c492016-07-14 15:51:58 -0700383 >seed_l8150-npd90g-factory-48f59c99.tgz</a><br>
384 MD5: 0ed565c509594072822d71c65b48ec8e<br>
385 SHA-1: 48f59c99ac43d1cd2f5656a283bb9868581663a8
Dirk Doughertyb8907292016-03-10 09:43:36 -0800386 </td>
387 </tr>
Joe Fernandez7c743c42016-03-07 20:00:34 -0800388
Kevin Hufnagle0397e072016-05-03 11:16:50 -0700389 <tr id="xperia">
390 <td>Sony Xperia Z3 <br> (D6603 and D6653)</td>
391 <td>Download: <a class="external-link"
392 href="http://support.sonymobile.com/xperiaz3/tools/xperia-companion/">Xperia Companion</a><br>
393 For more information, see <a class="external-link"
394 href="https://developer.sony.com/develop/smartphones-and-tablets/android-n-developer-preview/">Try Android N Developer Preview for Xperia Z3</a>.
395 </td>
396 </tr>
397
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800398</table>
399
Dirk Doughertyb8907292016-03-10 09:43:36 -0800400<h3 id="revertDevice">Uninstalling the Preview from a device</h3>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800401
402<p>
Dirk Doughertyb8907292016-03-10 09:43:36 -0800403 If you want to uninstall the preview from a device, you can do so in one of
404 these ways: </p>
405 <ul>
406 <li><strong>Obtain a factory spec system image</strong> and then manually
407 flash it to the device.
408 <ul>
409 <li>For <strong>Nexus devices and Pixel C devices</strong>, see
410 the <a href="http://developers.google.com/android/nexus/images">Factory Images
411 for Nexus Devices</a> page for downloads. </li>
412 <li>For <strong>other devices</strong>, please contact the device manufacturer
413 directly. Alternatively, if the device is supported
414 in the Android Beta Program, you can enroll the device in the
415 program and then un-enroll it (see below).</li>
416 </ul>
417 </li>
418 <li><strong>Un-enroll the device from Android Beta Program</strong>. If the
419 device is enrolled in the <a href="https://g.co/androidbeta">Android Beta
420 Program</a>, regardless of device, you can simply un-enroll it from the program.
421 <p>
422 The device will receive an OTA update to the most recent production version
423 of Android available for that device (for example, Android 6.0 Marshmallow).
424 The update requires a full device reset, so user data on the device will be
425 removed. Make sure to <strong>back up important data</strong> before
426 un-enrolling a device.
427 </p>
428 </li>
429</ul>
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800430
Dirk Doughertyb8907292016-03-10 09:43:36 -0800431<p class="note"><strong>Note:</strong>
432 Uninstalling a Developer Preview system image prior to
433 the end of the program requires a full device reset and removes all user data
434 on the device.
Joe Fernandez7c743c42016-03-07 20:00:34 -0800435</p>
436
437
Dirk Doughertyb8907292016-03-10 09:43:36 -0800438<h2 id="setupAVD">Set up an emulator</h2>
smain@google.com3254f8c2016-03-08 17:25:50 -0800439
smain@google.coma329ffd2016-03-09 00:00:37 -0800440<p>To use the Android Emulator to run the Android N Preview, you need to
441download the Android N Preview SDK and create a virtual device for the
442emulator.</p>
smain@google.com3254f8c2016-03-08 17:25:50 -0800443
444<p>First, download the Android N Preview SDK as follows (if you
445already got it while <a href="{@docRoot}preview/setup-sdk.html">setting up
smain@google.coma329ffd2016-03-09 00:00:37 -0800446to develop for Android N</a>, you can skip this part):
smain@google.com3254f8c2016-03-08 17:25:50 -0800447
448<ol>
449 <li>In Android Studio, open the Settings dialog
450 (<strong>File &gt; Settings</strong> on Windows/Linux, or
451 <strong>Android Studio &gt; Preferences</strong> on Mac). In the left
452 panel, select <strong>Appearance &amp; Behavior &gt;
453 System Settings &gt; Android SDK</strong>.
454
455 <li>Click the <strong>SDK Platforms</strong> tab, then select the
456 <strong>Android N Preview</strong> check box.</li>
457
458 <li>Click the <strong>SDK Tools</strong> tab, then select the
459 <strong>Android SDK Build Tools</strong>, <strong>Android SDK
460 Platform-Tools</strong>, and <strong>Android SDK Tools</strong> check
461 boxes.
462 </li>
463
464 <li>Click <strong>OK</strong> and accept the license
465 agreements for any packages to be installed.
466 </li>
467</ol>
468
smain@google.come3d651f2016-03-09 10:14:50 -0800469<p>You should now have <strong>Android SDK Built-Tools 24.0 0 rc1</strong>,
470<strong>Platform-Tools 24.0.0 rc1</strong>, and <strong>SDK Tools
47125.0.9</strong>. If you do not update the SDK Tools to 25.0.9, then you won't
472be able to run the x86_64 system images for Android N.</p>
473
smain@google.com3254f8c2016-03-08 17:25:50 -0800474
475<p>Now create a virtual device with the Android N system image:</p>
476
477<ol>
478 <li>Open the AVD Manager by selecting <strong>Tools > Android >
479 AVD Manager</strong>.</li>
480 <li>Click <strong>Create Virtual Device</strong>.</li>
481 <li>Select a device such as Nexus 5X, Nexus 6P, Nexus 9, or Android TV,
482 then click <strong>Next</strong>.</li>
483 <li>Select the <strong>N</strong> system image (with the
484 <strong>x86</strong> ABI), then click <strong>Next</strong>.
smain@google.coma329ffd2016-03-09 00:00:37 -0800485 (Only x86 system images are currently supported with the Android Emulator
486for the Android N Preview.)
smain@google.com3254f8c2016-03-08 17:25:50 -0800487 <li>Complete the rest of the AVD configuration and click
488 <strong>Finish</strong>.</li>
489</ol>
490
491<p>You can now launch the Android Emulator with the Android N Preview AVD.</p>
492
smain@google.come3d651f2016-03-09 10:14:50 -0800493<p>
smain@google.com96e6abb2016-04-22 15:27:28 -0700494For the best experience in the Android Emulator, make sure you're using
495Android Studio 2.1 or higher, which supports <a
496href="http://tools.android.com/tech-docs/emulator">Android Emulator 2.0</a>
497with much faster performance compared to the emulator in
smain@google.coma329ffd2016-03-09 00:00:37 -0800498Android Studio 1.5.</p>
499
smain@google.com3254f8c2016-03-08 17:25:50 -0800500<p>For more information about creating virtual devices, see <a href=
501 "{@docRoot}tools/devices/index.html">Managing Virtual Devices</a>.
502</p>
503
504
505
506
507
508
509
510
511
512
513
514
515
516
Dirk Dougherty5748bc42016-02-06 18:24:32 -0800517 </div><!-- landing -->
518
519</div><!-- relative wrapper -->
520
521
522
523<script>
524 var urlRoot = "http://storage.googleapis.com/androiddevelopers/shareables/preview/";
525 function onDownload(link) {
526
527 $("#downloadForRealz").html("Download " + $(link).text());
528 $("#downloadForRealz").attr('href', urlRoot + $(link).text());
529
530 $("#tos").fadeIn('fast');
531 $("#landing").fadeOut('fast');
532
533 return true;
534 }
535
536
537 function onAgreeChecked() {
538 /* verify that the TOS is agreed */
539 if ($("input#agree").is(":checked")) {
540 /* reveal the download button */
541 $("a#downloadForRealz").removeClass('disabled');
542 } else {
543 $("a#downloadForRealz").addClass('disabled');
544 }
545 }
546
547 function onDownloadForRealz(link) {
548 if ($("input#agree").is(':checked')) {
549 /*
550 $("#tos").fadeOut('fast');
551 $("#landing").fadeIn('fast');
552 */
553
554 ga('send', 'event', 'M Preview', 'System Image', $("#downloadForRealz").html());
555
556 /*
557 location.hash = "";
558 */
559 return true;
560 } else {
561 return false;
562 }
563 }
564
565 $(window).hashchange( function(){
566 if (location.hash == "") {
567 location.reload();
568 }
569 });
570
571</script>