Advertisement
Guest User

curl

a guest
May 23rd, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.12 KB | None | 0 0
  1. Adding handle: conn: 0x7ff75200a600
  2. * Adding handle: send: 0
  3. * Adding handle: recv: 0
  4. * Curl_addHandleToPipeline: length: 1
  5. * - Conn 0 (0x7ff75200a600) send_pipe: 1, recv_pipe: 0
  6. * About to connect() to d.android.com port 443 (#0)
  7. * Trying 173.194.198.101...
  8. * Connected to d.android.com (173.194.198.101) port 443 (#0)
  9. * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
  10. * Server certificate: *.google.com
  11. * Server certificate: Google Internet Authority G2
  12. * Server certificate: GeoTrust Global CA
  13. * Server certificate: Equifax Secure Certificate Authority
  14. > GET /sdk HTTP/1.1
  15. > User-Agent: curl/7.30.0
  16. > Host: d.android.com
  17. > Accept: */*
  18. >
  19. < HTTP/1.1 301 Moved Permanently
  20. < Location: https://developer.android.com/sdk
  21. < Content-Type: text/html; charset=UTF-8
  22. < X-Content-Type-Options: nosniff
  23. < Date: Mon, 23 May 2016 11:14:17 GMT
  24. < Expires: Wed, 22 Jun 2016 11:14:17 GMT
  25. < Cache-Control: public, max-age=2592000
  26. * Server sffe is not blacklisted
  27. < Server: sffe
  28. < Content-Length: 230
  29. < X-XSS-Protection: 1; mode=block
  30. < Alternate-Protocol: 443:quic
  31. < Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"
  32. <
  33. <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
  34. <TITLE>301 Moved</TITLE></HEAD><BODY>
  35. <H1>301 Moved</H1>
  36. The document has moved
  37. <A HREF="https://developer.android.com/sdk">here</A>.
  38. </BODY></HTML>
  39. * Connection #0 to host d.android.com left intact
  40. craigs-mbp:~ perl$ clear
  41.  
  42. craigs-mbp:~ perl$ curl -v https://d.android.com/sdk
  43. * Adding handle: conn: 0x7fe2ba004400
  44. * Adding handle: send: 0
  45. * Adding handle: recv: 0
  46. * Curl_addHandleToPipeline: length: 1
  47. * - Conn 0 (0x7fe2ba004400) send_pipe: 1, recv_pipe: 0
  48. * About to connect() to d.android.com port 443 (#0)
  49. * Trying 173.194.198.113...
  50. * Connected to d.android.com (173.194.198.113) port 443 (#0)
  51. * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
  52. * Server certificate: *.google.com
  53. * Server certificate: Google Internet Authority G2
  54. * Server certificate: GeoTrust Global CA
  55. * Server certificate: Equifax Secure Certificate Authority
  56. > GET /sdk HTTP/1.1
  57. > User-Agent: curl/7.30.0
  58. > Host: d.android.com
  59. > Accept: */*
  60. >
  61. < HTTP/1.1 301 Moved Permanently
  62. < Location: https://developer.android.com/sdk
  63. < Content-Type: text/html; charset=UTF-8
  64. < X-Content-Type-Options: nosniff
  65. < Date: Mon, 23 May 2016 11:14:17 GMT
  66. < Expires: Wed, 22 Jun 2016 11:14:17 GMT
  67. * Server sffe is not blacklisted
  68. < Server: sffe
  69. < Content-Length: 230
  70. < X-XSS-Protection: 1; mode=block
  71. < Cache-Control: public, max-age=2592000
  72. < Age: 238
  73. < Alternate-Protocol: 443:quic
  74. < Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"
  75. <
  76. <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
  77. <TITLE>301 Moved</TITLE></HEAD><BODY>
  78. <H1>301 Moved</H1>
  79. The document has moved
  80. <A HREF="https://developer.android.com/sdk">here</A>.
  81. </BODY></HTML>
  82. * Connection #0 to host d.android.com left intact
  83. craigs-mbp:~ perl$ clear
  84.  
  85. craigs-mbp:~ perl$ wget -v https://developer.android.com/studio/index.html
  86. -bash: wget: command not found
  87. craigs-mbp:~ perl$ curl -v https://developer.android.com/studio/index.html
  88. * Adding handle: conn: 0x7fd0b4004400
  89. * Adding handle: send: 0
  90. * Adding handle: recv: 0
  91. * Curl_addHandleToPipeline: length: 1
  92. * - Conn 0 (0x7fd0b4004400) send_pipe: 1, recv_pipe: 0
  93. * About to connect() to developer.android.com port 443 (#0)
  94. * Trying 216.58.192.174...
  95. * Connected to developer.android.com (216.58.192.174) port 443 (#0)
  96. * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
  97. * Server certificate: developer.android.com
  98. * Server certificate: Google Internet Authority G2
  99. * Server certificate: GeoTrust Global CA
  100. * Server certificate: Equifax Secure Certificate Authority
  101. > GET /studio/index.html HTTP/1.1
  102. > User-Agent: curl/7.30.0
  103. > Host: developer.android.com
  104. > Accept: */*
  105. >
  106. < HTTP/1.1 200 OK
  107. < X-Content-Type-Options: nosniff
  108. < Content-Language: en
  109. < Expires: Mon, 23 May 2016 12:22:20 GMT
  110. < Vary: Accept-Language
  111. < Last-Modified: Tue, 17 May 2016 00:25:22 GMT
  112. < X-XSS-Protection: 1; mode=block
  113. < Cache-Control: must_revalidate, public, max-age=3600
  114. < X-Frame-Options: SAMEORIGIN
  115. < Content-Type: text/html; charset=utf-8
  116. < Date: Mon, 23 May 2016 11:22:20 GMT
  117. * Server Google Frontend is not blacklisted
  118. < Server: Google Frontend
  119. < Content-Length: 63771
  120. < Alternate-Protocol: 443:quic
  121. < Alt-Svc: quic=":443"; ma=2592000; v="34,33,32,31,30,29,28,27,26,25"
  122. <
  123.  
  124.  
  125.  
  126.  
  127. <!DOCTYPE html>
  128. <html lang="en">
  129. <head>
  130.  
  131.  
  132.  
  133.  
  134.  
  135. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  136. <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  137. <meta content="IE=edge" http-equiv="X-UA-Compatible">
  138. <meta name="description" content="Download the official Android IDE and developer tools to build apps for Android phones, tablets, wearables, TVs, and more.">
  139. <meta name="xsrf_token" content="GLoNOkVvPPnV-hdlldd39hOlZydj7FCGbrWE2tQWllQ6MTQ2NDAwMjU0MDg1OTk0MA" />
  140.  
  141. <link rel="alternate" href="http://developer.android.com/studio/index.html" hreflang="en">
  142. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=es" hreflang="es">
  143. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=id" hreflang="id">
  144. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=ja" hreflang="ja">
  145. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=ko" hreflang="ko">
  146. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=pt-br" hreflang="pt-br">
  147. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=ru" hreflang="ru">
  148. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=vi" hreflang="vi">
  149. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=zh-cn" hreflang="zh-cn">
  150. <link rel="alternate" href="http://developer.android.com/studio/index.html?hl=zh-tw" hreflang="zh-tw">
  151.  
  152. <title>
  153.  
  154. Download Android Studio and SDK Tools | Android Studio
  155.  
  156. </title>
  157.  
  158. <!-- STYLESHEETS -->
  159. <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto+Condensed">
  160. <link rel="stylesheet"
  161. href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
  162. title="roboto">
  163.  
  164.  
  165.  
  166.  
  167.  
  168. <link href="/static/css/default.css?v=2016052311" rel="stylesheet" type="text/css">
  169. <!-- JAVASCRIPT -->
  170. <script src="//www.google.com/jsapi" type="text/javascript"></script>
  171. <script src="https://developer.android.com/_static/975991ed10/js/android_3p-bundle.js" type="text/javascript"></script>
  172.  
  173.  
  174. <script type="text/javascript">
  175. var toRoot = '/';
  176. var metaTags = "";
  177. var devsite = true;
  178. var useUpdatedTemplates = true;
  179. var devsiteLang = 'en';
  180. var pageType = 'None';
  181. var ANDROID_LANGUAGES = [
  182.  
  183.  
  184. 'en','es','in','ja','ko','pt-br','ru','vi','zh-cn','zh-tw'
  185.  
  186. ];
  187. </script>
  188. <script src="/static/js/docs.js?v=2016052311" type="text/javascript"></script>
  189.  
  190.  
  191. <script>
  192. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  193. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  194. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  195. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  196. ga('create', 'UA-5831155-1', 'android.com');
  197. ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker);
  198. ga('send', 'pageview');
  199. ga('universal.send', 'pageview'); // Send page view for new tracker.
  200. </script>
  201.  
  202.  
  203.  
  204. </head>
  205.  
  206. <body class="gc-documentation dac-studio no-crumbs download full-width" itemscope itemtype="http://schema.org/Article">
  207. <a href="#top" id="skip-to-main">Skip to content</a>
  208. <header id="header-wrapper">
  209. <div class="dac-header" id="header">
  210. <div class="dac-header-inner">
  211. <a class="dac-nav-toggle" data-dac-toggle-nav href="" title="Open navigation">
  212. <span class="dac-nav-hamburger">
  213. <span class="dac-nav-hamburger-top"></span>
  214. <span class="dac-nav-hamburger-mid"></span>
  215. <span class="dac-nav-hamburger-bot"></span>
  216. </span>
  217. </a>
  218.  
  219. <a class="dac-header-logo" href="https://developer.android.com/studio/index.html">
  220. <img class="dac-header-logo-image" src="https://developer.android.com/studio/images/studio-icon.png"
  221. srcset="https://developer.android.com/studio/images/studio-icon_2x.png 2x"
  222. width="34" height="36" alt=""> Android Studio</a>
  223. <ul class="dac-header-tabs">
  224. <li>
  225. <a class="dac-header-tab" href="https://developer.android.com/studio/features.html"
  226. >Features</a>
  227. </li>
  228. <li>
  229. <a class="dac-header-tab" href="https://developer.android.com/studio/intro/index.html"
  230. >User Guide</a>
  231. </li>
  232. </ul>
  233. <form data-search="" class="dac-header-search">
  234. <button class="dac-header-search-close" data-search-close="">
  235. <i class="dac-sprite dac-back-arrow"></i>
  236. </button>
  237.  
  238. <div class="dac-header-search-inner">
  239. <i class="dac-sprite dac-search-white dac-header-search-icon"></i>
  240. <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" class="dac-header-search-input" placeholder="Search">
  241. <button class="dac-header-search-clear dac-hidden" data-search-clear="">
  242. <i class="dac-sprite dac-close-black"></i>
  243. </button>
  244. </div>
  245. </form>
  246.  
  247.  
  248. </div><!--/.header-wrap.wrap-->
  249. </div><!--/.header-->
  250.  
  251. <div id="search-results" class="dac-search-results">
  252. <div id="dac-search-results-history" class="dac-search-results-history">
  253. <div class="wrap dac-search-results-history-wrap">
  254. <div class="cols">
  255. <div class="col-1of2 col-tablet-1of2 col-mobile-1of1">
  256. <h2>Most visited</h2>
  257. <div class="resource-flow-layout" data-history-query="history:most/visited" data-maxresults="3" data-cardsizes="18x2"></div>
  258. </div>
  259.  
  260. <div class="col-1of2 col-tablet-1of2 col-mobile-1of1">
  261. <h2>Recently visited</h2>
  262. <div class="resource-flow-layout cols" data-history-query="history:recent" data-allow-duplicates="true" data-maxresults="3" data-cardsizes="18x2"></div>
  263. </div>
  264. </div>
  265. </div>
  266. </div>
  267.  
  268. <div id="dac-search-results-content" class="dac-search-results-content">
  269. <div class="dac-search-results-metadata wrap">
  270. <div class="dac-search-results-for">
  271. <h2>Results for <span id="search-results-for"></span></h2>
  272. </div>
  273.  
  274. <div id="dac-search-results-hero"></div>
  275.  
  276. <div class="dac-search-results-hero cols">
  277. <div id="dac-search-results-reference" class="col-3of6 col-tablet-1of2 col-mobile-1of1">
  278. <div class="suggest-card reference no-display">
  279. <ul class="dac-search-results-reference">
  280. </ul>
  281. </div>
  282. </div>
  283. <div id="dac-custom-search-results"></div>
  284. </div>
  285. </div>
  286.  
  287. </div>
  288. </div>
  289.  
  290. </header>
  291.  
  292. <a name="navigation" tabindex=0 class="nav-start-marker">navigation</a>
  293. <nav class="dac-nav">
  294. <div class="dac-nav-dimmer" data-dac-toggle-nav></div>
  295. <div class="dac-nav-sidebar" data-swap data-dynamic="false" data-transition-speed="300" data-dac-nav>
  296. <div data-swap-container>
  297.  
  298.  
  299.  
  300. <ul id="dac-main-navigation" class="dac-nav-list dac-swap-section dac-left dac-no-anim">
  301. <li class="dac-nav-item">
  302. <a class="dac-nav-back-button back-to-dev" tabindex="0"
  303. href="/develop/index.html">
  304. <i class="dac-sprite dac-nav-back"></i>Back to Developers
  305. </a>
  306. </li>
  307. <li class="dac-nav-item download">
  308. <a class="dac-nav-link" href="https://developer.android.com/studio/index.html"
  309. >Download</a>
  310. </li>
  311. <li class="dac-nav-item features">
  312. <a class="dac-nav-link" href="https://developer.android.com/studio/features.html"
  313. >Features</a>
  314. </li>
  315. <li class="dac-nav-item guide">
  316. <a class="dac-nav-link" href="https://developer.android.com/studio/intro/index.html"
  317. >User Guide</a>
  318. </li>
  319. </ul>
  320.  
  321.  
  322. </div>
  323. </div>
  324. </nav>
  325.  
  326. <a name="top" tabindex="0"></a>
  327.  
  328. <div id="body-content">
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380. <style>
  381. .download-bundle-button {line-height:18px;}
  382. .download-bundle-button .small {font-size: 12px; opacity: 0.7;}
  383. </style>
  384.  
  385. <section class="dac-expand dac-hero dac-light">
  386. <div class="wrap">
  387. <div class="cols dac-hero-content">
  388. <div class="col-1of2 col-push-1of2 dac-hero-figure">
  389. <img class="dac-hero-image" src="https://developer.android.com/images/develop/hero_image_studio5_2x.png" srcset="/images/develop/hero_image_studio5.png 1x, /images/develop/hero_image_studio5_2x.png 2x">
  390. </div>
  391. <div class="col-1of2 col-pull-1of2" style="margin-bottom:40px">
  392. <h1 class="dac-hero-title">Android Studio<br>
  393. <span style="font-size: 65%;">The Official IDE for Android</span></h1>
  394.  
  395. <p class="dac-hero-description">Android Studio provides the fastest tools for
  396. building apps on every type of Android device.</p>
  397.  
  398. <p class="dac-hero-description">World-class code editing, debugging,
  399. performance tooling, a flexible build system, and an instant build/deploy
  400. system all allow you to focus on building unique and high quality apps.</p>
  401.  
  402. <p style="margin-top:24px">
  403. <a class="landing-button green download-bundle-button dac-hidden-mobile"
  404. data-modal-toggle="studio_tos">Download Android Studio 2.1<br>
  405. <span class="small"></span></a>
  406. </p>
  407.  
  408. <p style="margin-top:24px">
  409. <a class="dac-hero-cta" href="https://developer.android.com/studio/intro/index.html">
  410. <span class="dac-sprite dac-auto-chevron"></span>
  411. Read the docs</a>
  412. &nbsp;&nbsp;&nbsp;&nbsp;<wbr>
  413. <a class="dac-hero-cta" href="https://developer.android.com/studio/releases/index.html">
  414. <span class="dac-sprite dac-auto-chevron"></span>
  415. See the release notes</a>
  416. </p>
  417.  
  418. </div>
  419. </div>
  420. </div>
  421. </section>
  422.  
  423. <div id="useUpdatedTemplates" class="dac-section dac-slim dac-gray dac-expand">
  424. <div class="wrap dac-offset-parent">
  425. <a class="dac-fab dac-scroll-button" data-scroll-button href="#features">
  426. <i class="dac-sprite dac-arrow-down-gray"></i>
  427. </a>
  428. <ul class="dac-actions">
  429. <li class="dac-action">
  430. <a class="dac-action-link" href="#features">
  431. <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
  432. Features
  433. </a>
  434. </li>
  435. <li class="dac-action">
  436. <a class="dac-action-link" href="#latest">
  437. <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
  438. Latest
  439. </a>
  440. </li>
  441. <li class="dac-action">
  442. <a class="dac-action-link" href="#resources">
  443. <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
  444. Resources
  445. </a>
  446. </li>
  447. <li class="dac-action">
  448. <a class="dac-action-link" href="#videos">
  449. <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
  450. Videos
  451. </a>
  452. </li>
  453. <li class="dac-action dac-hidden-mobile">
  454. <a class="dac-action-link" href="#downloads">
  455. <i class="dac-action-sprite dac-sprite dac-auto-chevron-large"></i>
  456. Download Options
  457. </a>
  458. </li>
  459. </ul>
  460. </div><!-- end .wrap -->
  461. </div><!-- end new templates -->
  462.  
  463.  
  464.  
  465. <section id="features" class="dac-section dac-small">
  466.  
  467. <div class="wrap feature">
  468. <div class="cols dac-hero-content">
  469. <div class="col-1of2 col-push-1of2 dac-hero-figure">
  470. <img src="https://developer.android.com/images/tools/studio/studio-feature-instant-run_2x.png">
  471. </div>
  472. <div class="col-1of2 col-pull-1of2">
  473. <div class="dac-hero-tag"></div>
  474. <h1 class="dac-hero-title">Instant Run</h1>
  475. <p class="dac-hero-description">Push code and resource
  476. changes to your app running on a device or emulator and see the
  477. changes instantly come to life.</p>
  478. <p class="dac-hero-description">Instant Run dramatically speeds up your edit,
  479. build, and run cycles, keeping you "in the flow."</p>
  480. <a class="dac-hero-cta"
  481. href="https://developer.android.com/studio/run/index.html#instant-run">
  482. <span class="dac-sprite dac-auto-chevron"></span>
  483. Learn more</a>
  484. </div>
  485. </div>
  486. </div>
  487.  
  488. <div class="wrap feature">
  489. <div class="cols dac-hero-content">
  490. <div class="col-1of2 dac-hero-figure">
  491. <img src="https://developer.android.com/images/tools/codeeditor-low.gif" >
  492. </div>
  493. <div class="col-1of2">
  494. <div class="dac-hero-tag"></div>
  495. <h1 class="dac-hero-title">Intelligent code editor</h1>
  496. <p class="dac-hero-description">Write better code, work faster, and be more productive with an intelligent code editor that helps you each step of the way.</p>
  497. <p class="dac-hero-description">Android Studio is built on IntelliJ and is capable of advanced code completion, refactoring, and code analysis.</p>
  498. </div>
  499. </div>
  500. </div>
  501.  
  502. <div class="wrap feature">
  503. <div class="cols dac-hero-content">
  504. <div class="col-1of2 col-push-1of2 dac-hero-figure">
  505. <img src="https://developer.android.com/images/tools/studio/studio-feature-emulator_2x.jpg">
  506. </div>
  507. <div class="col-1of2 col-pull-1of2">
  508. <div class="dac-hero-tag"></div>
  509. <h1 class="dac-hero-title">Fast and feature-rich emulator</h1>
  510. <p class="dac-hero-description">Install and run your apps faster than with a physical device and test your app on virtually any Android device configuration: Android phones, Android tablets, Android Wear, and Android TV devices.</p>
  511. <p class="dac-hero-description">The new Android Emulator 2.0 is faster than ever and allows you to dynamically resize the emulator and access a suite of sensor controls.</p>
  512. <a class="dac-hero-cta"
  513. href="https://developer.android.com/studio/run/emulator.html">
  514. <span class="dac-sprite dac-auto-chevron"></span>
  515. Learn more</a>
  516. </div>
  517. </div>
  518. </div>
  519.  
  520. <div class="wrap feature">
  521. <div class="cols dac-hero-content">
  522. <div class="col-1of2 dac-hero-figure">
  523. <img src="https://developer.android.com/images/tools/studio/studio-feature-gradle_2x.png">
  524. </div>
  525. <div class="col-1of2">
  526. <div class="dac-hero-tag"></div>
  527. <h1 class="dac-hero-title">Robust and flexible build system</h1>
  528. <p class="dac-hero-description">Easily configure your project to include code libraries and generate multiple build variants from a single project.</p>
  529. <p class="dac-hero-description">With Gradle, Android Studio offers high-performance build automation, robust dependency management, and customizable build configurations.</p>
  530. <a class="dac-hero-cta"
  531. href="https://developer.android.com/studio/build/index.html">
  532. <span class="dac-sprite dac-auto-chevron"></span>
  533. Learn more</a>
  534. </div>
  535. </div>
  536. </div>
  537.  
  538. <div class="wrap feature">
  539. <div class="cols dac-hero-content">
  540. <div class="col-1of2 col-push-1of2 dac-hero-figure">
  541. <img src="https://developer.android.com/images/tools/studio/studio-feature-devices_2x.png">
  542. </div>
  543. <div class="col-1of2 col-pull-1of2">
  544. <div class="dac-hero-tag"></div>
  545. <h1 class="dac-hero-title">Develop for all&nbsp;<wbr>Android&nbsp;devices</h1>
  546. <p class="dac-hero-description">Target multiple form factors with a single
  547. project to easily share code among your different versions of your app.</p>
  548. <p class="dac-hero-description">Android Studio provides a unified environment
  549. to develop apps for Android phones, tablets, Android Wear, Android TV, and
  550. Android Auto.</p>
  551.  
  552. <a class="dac-hero-cta"
  553. href="https://developer.android.com/studio/build/build-variants.html">
  554. <span class="dac-sprite dac-auto-chevron"></span>
  555. Learn more</a>
  556. </div>
  557. </div>
  558. </div>
  559.  
  560. <div class="wrap feature">
  561. <div class="cols dac-hero-content">
  562. <div class="col-1of2 dac-hero-figure">
  563. <img src="https://developer.android.com/images/tools/studio/studio-feature-github_2x.png">
  564. </div>
  565. <div class="col-1of2">
  566. <div class="dac-hero-tag"></div>
  567. <h1 class="dac-hero-title">Code templates and GitHub integration</h1>
  568. <p class="dac-hero-description">Start projects with code templates for patterns such as navigation drawer and view pagers, or import Google code samples from GitHub.</p>
  569. <p class="dac-hero-description">Android Studio's project wizards make it easier than ever to add code in a new project.</p>
  570. </div>
  571. </div>
  572. </div>
  573.  
  574. </section><!-- end features -->
  575.  
  576.  
  577.  
  578. <section id="latest" class="dac-section dac-light dac-small"><div class="wrap">
  579. <h1 class="dac-section-title">Latest News</h1>
  580. <div class="resource-widget resource-flow-layout col-16"
  581. data-query="collection:tools/landing/latest"
  582. data-cardSizes="6x6"
  583. data-items-per-page="3"
  584. data-initial-results="3"
  585. data-maxResults="3"></div>
  586. </div>
  587. </section>
  588.  
  589. <section id="resources" class="dac-section dac-small"><div class="wrap">
  590. <h1 class="dac-section-title">Resources</h1>
  591. <div class="resource-widget resource-flow-layout col-16"
  592. data-query="collection:tools/landing/resources"
  593. data-cardSizes="6x6"
  594. data-initial-results="3"
  595. data-items-per-page="3"
  596. data-maxResults="3"></div>
  597. </div>
  598. </section>
  599.  
  600. <section class="dac-section dac-light dac-small dac-gray" id="videos"><div class="wrap">
  601. <h1 class="dac-section-title">Videos</h1>
  602. <div class="resource-widget resource-flow-layout col-16"
  603. data-query="collection:develop/landing/tools"
  604. data-sortOrder="-timestamp"
  605. data-cardSizes="6x6"
  606. data-maxResults="3"></div>
  607. </div>
  608. </section>
  609.  
  610.  
  611.  
  612. <section id="Requirements" class="dac-section dac-light dac-small">
  613. <div class="wrap">
  614.  
  615. <h2 class="norule">System Requirements</h2>
  616.  
  617. <div class="cols">
  618.  
  619. <div class="col-2of6">
  620. <h4>Windows</h4>
  621. <ul>
  622. <li>Microsoft&reg; Windows&reg; 7/8/10 (32- or 64-bit)</li>
  623. <li>2 GB RAM minimum, 8 GB RAM recommended</li>
  624. <li>2 GB of available disk space minimum,<br>4 GB Recommended
  625. (500 MB for IDE + 1.5 GB for
  626. Android SDK and emulator system image)</li>
  627. <li>1280 x 800 minimum screen resolution</li>
  628. <li>Java Development Kit (JDK) 8</li>
  629. <li>For accelerated emulator: 64-bit operating system and
  630. Intel® processor with support for Intel®
  631. VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality</li>
  632. </ul>
  633. </div>
  634.  
  635. <div class="col-2of6">
  636. <h4>Mac</h4>
  637. <ul>
  638. <li>Mac&reg; OS X&reg; 10.8.5 or higher, up to 10.11.4 (El Capitan)</li>
  639. <li>2 GB RAM minimum, 8 GB RAM recommended</li>
  640. <li>2 GB of available disk space minimum,<br>4 GB Recommended
  641. (500 MB for IDE + 1.5 GB for
  642. Android SDK and emulator system image)</li>
  643. <li>1280 x 800 minimum screen resolution</li>
  644. <li>Java Development Kit (JDK) 6</li>
  645. </ul>
  646. </div>
  647.  
  648. <div class="col-2of6">
  649. <h4>Linux</h4>
  650. <ul>
  651. <li>GNOME or KDE desktop
  652. <p><i>Tested on Ubuntu® 12.04, Precise Pangolin (64-bit distribution
  653. capable of running 32-bit applications)</i></li>
  654. <li>64-bit distribution capable of running 32-bit applications</li>
  655. <li>GNU C Library (glibc) 2.11 or later</li>
  656. <li>2 GB RAM minimum, 8 GB RAM recommended</li>
  657. <li>2 GB of available disk space minimum,<br>4 GB Recommended
  658. (500 MB for IDE + 1.5 GB for
  659. Android SDK and emulator system image)</li>
  660. <li>1280 x 800 minimum screen resolution</li>
  661. <li>Java Development Kit (JDK) 8</li>
  662. <li>For accelerated emulator: Intel® processor with support for Intel®
  663. VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality,
  664. or AMD processor with support for AMD Virtualization™ (AMD-V™)</li>
  665. </ul>
  666. </div>
  667.  
  668. </div>
  669. </div>
  670.  
  671. </section>
  672.  
  673.  
  674. <section id="downloads" class="dac-section dac-small dac-hidden-mobile">
  675. <div class="wrap">
  676.  
  677. <h2 class="norule">Start using Android Studio today</h2>
  678.  
  679. <p>Android Studio includes all the tools you need to build apps for Android.</p>
  680.  
  681. <div class="landing-button-wrap">
  682. <p>
  683. <a class="landing-button green download-bundle-button"
  684. data-modal-toggle="studio_tos">Download Android Studio 2.0<br>
  685. <span class="small"></span></a>
  686. </p>
  687. </div>
  688.  
  689. <div style="float:left;width:auto;margin-bottom:40px">
  690. <ul class="nolist" style="text-transform: uppercase;margin:8px 0">
  691. <li>Version: 2.1.1.0</li>
  692. <li>Release date: May 11, 2016</li>
  693. </ul>
  694. </div>
  695.  
  696.  
  697.  
  698.  
  699. <h4 style="clear:left;margin-top:40px">Select a different platform</h4>
  700.  
  701. <table class="download">
  702. <tr>
  703. <th>Platform</th>
  704. <th>Android Studio package</th>
  705. <th>Size</th>
  706. <th>SHA-1 checksum</th>
  707. </tr>
  708. <tr>
  709. <td rowspan="3">Windows</td>
  710. <td>
  711. <a onclick="return onDownload(this,false,true)" id="win-bundle" data-modal-toggle="studio_tos"
  712. href="https://dl.google.com/dl/android/studio/install/2.1.1.0/android-studio-bundle-143.2821654-windows.exe"
  713. >android-studio-bundle-143.2821654-windows.exe</a><br>
  714. Includes Android SDK <b>(recommended)</b>
  715. </td>
  716. <td id="win-bundle-size" data-size="1238569296"></td>
  717. <td>6f7fcdc30800bd8b3fbd5a14c2b9857243144650</td>
  718. </tr>
  719. <tr>
  720. <!-- blank TD from Windows rowspan -->
  721. <td>
  722. <a onclick="return onDownload(this,false,true)" id="win-bundle-notools" data-modal-toggle="studio_tos"
  723. href="https://dl.google.com/dl/android/studio/install/2.1.1.0/android-studio-ide-143.2821654-windows.exe"
  724. >android-studio-ide-143.2821654-windows.exe</a><br>
  725. No Android SDK
  726. </td>
  727. <td data-size="283805040"></td>
  728. <td>d8cb3968814b6155f4effe727baf23b18b9f8360</td>
  729. </tr>
  730. <tr>
  731. <!-- blank TD from Windows rowspan -->
  732. <td>
  733. <a onclick="return onDownload(this,false,true)" id="win-bundle-zip" data-modal-toggle="studio_tos"
  734. href="https://dl.google.com/dl/android/studio/ide-zips/2.1.1.0/android-studio-ide-143.2821654-windows.zip"
  735. >android-studio-ide-143.2821654-windows.zip</a><br>
  736. No Android SDK, no installer
  737. </td>
  738. <td data-size="300630577"></td>
  739. <td>9bec4905e40f0ac16ac7fde63a50f3fbc1eec4d9</td>
  740. </tr>
  741. <tr>
  742. <td><nobr>Mac OS X</nobr></td>
  743. <td>
  744. <a onclick="return onDownload(this,false,true)" id="mac-bundle" data-modal-toggle="studio_tos"
  745. href="https://dl.google.com/dl/android/studio/install/2.1.1.0/android-studio-ide-143.2821654-mac.dmg"
  746. >android-studio-ide-143.2821654-mac.dmg</a>
  747. </td>
  748. <td id="mac-bundle-size" data-size="298597716"></td>
  749. <td>4a7ca7532a95c65ee59ed50193c0e976f0272472</td>
  750. </tr>
  751. <tr>
  752. <td>Linux</td>
  753. <td>
  754. <a onclick="return onDownload(this,false,true)" id="linux-bundle" data-modal-toggle="studio_tos"
  755. href="https://dl.google.com/dl/android/studio/ide-zips/2.1.1.0/android-studio-ide-143.2821654-linux.zip"
  756. >android-studio-ide-143.2821654-linux.zip</a>
  757. </td>
  758. <td id="linux-bundle-size" data-size="298125051"></td>
  759. <td>55d69ad2da0068d818718b26ba43550fbcbeb7e9</td>
  760. </tr>
  761. </table>
  762.  
  763.  
  764.  
  765. <h4 class="norule" style="margin-top:40px">Get just the command line tools</h4>
  766.  
  767. <p>If you do not need Android Studio, you can download the basic Android
  768. command line tools below.</p>
  769.  
  770. <table class="download">
  771. <tr>
  772. <th>Platform</th>
  773. <th>SDK tools package</th>
  774. <th>Size</th>
  775. <th>SHA-1 checksum</th>
  776. </tr>
  777. <tr>
  778. <td rowspan="2">Windows</td>
  779. <td>
  780. <a onclick="return onDownload(this)" id="win-tools" data-modal-toggle="studio_tos"
  781. href="//dl.google.com/android/installer_r24.4.1-windows.exe">installer_r24.4.1-windows.exe</a><br>
  782. </td>
  783. <td data-size="151659917"></td>
  784. <td>f9b59d72413649d31e633207e31f456443e7ea0b</td>
  785. </tr>
  786. <tr>
  787. <!-- blank TD from Windows rowspan -->
  788. <td>
  789. <a onclick="return onDownload(this)" id="win-tools2" data-modal-toggle="studio_tos"
  790. href="//dl.google.com/android/android-sdk_r24.4.1-windows.zip">android-sdk_r24.4.1-windows.zip</a><br>
  791. No installer
  792. </td>
  793. <td data-size="199701062"></td>
  794. <td>66b6a6433053c152b22bf8cab19c0f3fef4eba49</td>
  795. </tr>
  796. <tr>
  797. <td><nobr>Mac OS X</nobr></td>
  798. <td>
  799. <a onclick="return onDownload(this)" id="mac-tools" data-modal-toggle="studio_tos"
  800. href="//dl.google.com/android/android-sdk_r24.4.1-macosx.zip">android-sdk_r24.4.1-macosx.zip</a>
  801. </td>
  802. <td data-size="102781947"></td>
  803. <td>85a9cccb0b1f9e6f1f616335c5f07107553840cd</td>
  804. </tr>
  805. <tr>
  806. <td>Linux</td>
  807. <td>
  808. <a onclick="return onDownload(this)" id="linux-tools" data-modal-toggle="studio_tos"
  809. href="//dl.google.com/android/android-sdk_r24.4.1-linux.tgz">android-sdk_r24.4.1-linux.tgz</a>
  810. </td>
  811. <td data-size="326412652"></td>
  812. <td>725bb360f0f7d04eaccff5a2d57abdd49061326d</td>
  813. </tr>
  814. </table>
  815. <p>
  816. Also see the <a href="https://developer.android.com/studio/releases/sdk-tools.html">SDK
  817. tools release notes</a>.</p>
  818.  
  819. </div><!-- end wrap -->
  820. </section>
  821. <!-- start studio download modal -->
  822. <div data-modal="studio_tos" class="dac-modal" id="studio_tos">
  823. <div class="dac-modal-container">
  824. <div class="dac-modal-window">
  825. <header class="dac-modal-header">
  826. <div class="dac-modal-header-actions">
  827. <button class="dac-modal-header-close" data-modal-toggle></button>
  828. </div>
  829. <section class="dac-swap-section dac-active dac-down">
  830. <h2 class="norule dac-modal-header-title" id="tos-header">Download Android Studio</h2>
  831. </section>
  832. </header>
  833. <section class="dac-swap-section dac-active dac-left">
  834. <section class="dac-modal-content">
  835. <fieldset class="dac-form-fieldset">
  836. <div class="cols">
  837. <div class="col-2of2 tos-leftCol">
  838. <p class="sdk-terms-intro">Before downloading,
  839. you must agree to the following terms
  840. and conditions.</p>
  841. </div>
  842.  
  843. <div class="sdk-terms" onfocus="this.blur()">
  844. <h2 class="norule">Terms and Conditions</h2>
  845. This is the Android Software Development Kit License Agreement
  846.  
  847. <h3>1. Introduction</h3>
  848. 1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) 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 SDK.
  849.  
  850. 1.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.
  851.  
  852. 1.3 A "compatible implementation" means any Android device 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).
  853.  
  854. 1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
  855.  
  856.  
  857. <h3>2. Accepting this License Agreement</h3>
  858. 2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement.
  859.  
  860. 2.2 By clicking to accept, you hereby agree to the terms of the License Agreement.
  861.  
  862. 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK.
  863.  
  864. 2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, 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 SDK on behalf of your employer or other entity.
  865.  
  866.  
  867. <h3>3. SDK License from Google</h3>
  868. 3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android.
  869.  
  870. 3.2 You may not use this SDK 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 SDK is not used for that purpose.
  871.  
  872. 3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "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.
  873.  
  874. 3.4 You may not use the SDK 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 SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.
  875.  
  876. 3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement.
  877.  
  878. 3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
  879.  
  880. 3.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.
  881.  
  882. 3.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 SDK.
  883.  
  884.  
  885. <h3>4. Use of the SDK by You</h3>
  886. 4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
  887.  
  888. 4.2 You agree to use the SDK 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).
  889.  
  890. 4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the 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 the user provides your application 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, the user has given you permission to do so.
  891.  
  892. 4.4 You agree that you will not engage in any activity with the SDK, 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 any third party including, but not limited to, Google or any mobile communications carrier.
  893.  
  894. 4.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.
  895.  
  896. 4.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.
  897.  
  898.  
  899. <h3>5. Your Developer Credentials</h3>
  900. 5.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.
  901.  
  902.  
  903. <h3>6. Privacy and Information</h3>
  904. 6.1 In order to continually innovate and improve the SDK, 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 SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
  905.  
  906. 6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
  907.  
  908.  
  909. <h3>7. Third Party Applications</h3>
  910. 7.1 If you use the SDK 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.
  911.  
  912. 7.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.
  913.  
  914. 7.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. In that case, the License Agreement does not affect your legal relationship with these third parties.
  915.  
  916.  
  917. <h3>8. Using Android APIs</h3>
  918. 8.1 Google Data APIs
  919.  
  920. 8.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.
  921.  
  922. 8.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.
  923.  
  924.  
  925. <h3>9. Terminating this License Agreement</h3>
  926. 9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below.
  927.  
  928. 9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
  929.  
  930. 9.3 Google may at any time, terminate the License Agreement with you if:
  931. (A) you have breached any provision of the License Agreement; or
  932. (B) Google is required to do so by law; or
  933. (C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
  934. (D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
  935.  
  936. 9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
  937.  
  938.  
  939. <h3>10. DISCLAIMER OF WARRANTIES</h3>
  940. 10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
  941.  
  942. 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK 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.
  943.  
  944. 10.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.
  945.  
  946.  
  947. <h3>11. LIMITATION OF LIABILITY</h3>
  948. 11.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.
  949.  
  950.  
  951. <h3>12. Indemnification</h3>
  952. 12.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 SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.
  953.  
  954.  
  955. <h3>13. Changes to the License Agreement</h3>
  956. 13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
  957.  
  958.  
  959. <h3>14. General Legal Terms</h3>
  960. 14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (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 SDK.
  961.  
  962. 14.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.
  963.  
  964. 14.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.
  965.  
  966. 14.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.
  967.  
  968. 14.5 EXPORT RESTRICTIONS. THE SDK 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 SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
  969.  
  970. 14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party.
  971.  
  972. 14.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.
  973.  
  974. <em>November 20, 2015</em>
  975. </div><!-- close sdk-terms -->
  976.  
  977.  
  978.  
  979. <div id="next-steps" style="display:none;position:absolute;width:inherit">
  980. <p>You're just a few steps away from building apps for Android!</p>
  981. <p>In a moment, you'll be redirected to
  982. <a id="next-link" href="https://developer.android.com/studio/install.html">Installing the Android SDK</a>.</p>
  983. </div><!-- end next-steps -->
  984.  
  985. <div id="sdk-terms-form">
  986. <p>
  987. <input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" />
  988. <label id="agreeLabel" for="agree">I have read and agree with the above terms and conditions</label>
  989. </p>
  990. <p><a href="https://developer.android.com" class="dac-button dac-raised dac-primary disabled ndk" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p>
  991. </div><!-- end sdk-terms-form -->
  992.  
  993.  
  994. </div><!-- end cols -->
  995.  
  996. </fieldset>
  997. </section>
  998. </section>
  999. </div><!-- end dac-modal-window -->
  1000. </div><!-- end dac-modal-container -->
  1001. </div><!-- end #studio_tos, .dac-modal -->
  1002. <!-- end studio download modal -->
  1003.  
  1004. <script>
  1005. function getMb(bytes) {
  1006. return Math.floor(bytes / 1024 / 1024);
  1007. }
  1008.  
  1009. // Print the bytes and MB for each download
  1010. $("td[data-size]").each(function() {
  1011. var bytes = $(this).attr('data-size');
  1012. $(this).html(getMb(bytes) + " MB<br>(" + bytes + " bytes)");
  1013. });
  1014.  
  1015. var os;
  1016. var bundlename;
  1017. var $toolslink;
  1018.  
  1019. if (navigator.appVersion.indexOf("Mobile")!=-1) {
  1020. // Do nothing for any "mobile" user agent
  1021. } else if (navigator.appVersion.indexOf("Win")!=-1) {
  1022. os = "Windows";
  1023. bundlename = '#win-bundle';
  1024. $toolslink = $('#win-tools');
  1025. } else if (navigator.appVersion.indexOf("Mac")!=-1) {
  1026. os = "Mac";
  1027. bundlename = '#mac-bundle';
  1028. $toolslink = $('#mac-tools');
  1029. } else if (navigator.appVersion.indexOf("Linux")!=-1 && navigator.appVersion.indexOf("Android")==-1) {
  1030. os = "Linux";
  1031. bundlename = '#linux-bundle';
  1032. $toolslink = $('#linux-tools');
  1033. }
  1034.  
  1035. if (os != undefined) {
  1036. $('#not-supported').hide();
  1037.  
  1038. /* set up primary Android Studio download button */
  1039. idname = bundlename + "-size";
  1040. sizeMB = getMb($(idname).attr('data-size'));
  1041. $('.download-bundle-button > .small').html(" for " + os + " <em>(" + sizeMB + " MB)</em>");
  1042. $('.download-bundle-button').click(function() {return onDownload(this,true,true);}).attr('href', bundlename);
  1043. }
  1044.  
  1045.  
  1046. function onDownload(link, button, studio) {
  1047. /* set text for download button */
  1048. if (button) {
  1049. $("#downloadForRealz").html($(link).text());
  1050. } else {
  1051. $("#downloadForRealz").html("Download " + $(link).text());
  1052. }
  1053.  
  1054. if (studio) {
  1055. $("h2#tos-header").text('Download Android Studio');
  1056. } else {
  1057. $("h2#tos-header").text('Download the Command Line Tools');
  1058. }
  1059.  
  1060. $("#downloadForRealz").attr('bundle', studio);
  1061. if (studio && !button) {
  1062. $("a#downloadForRealz").attr("name", "#" + $(link).attr('id'));
  1063. } else {
  1064. $("a#downloadForRealz").attr("name", $(link).attr('href'));
  1065. }
  1066.  
  1067. if (!button) return false;
  1068. }
  1069.  
  1070.  
  1071. function onAgreeChecked() {
  1072. /* verify that the TOS is agreed */
  1073. if ($("input#agree").is(":checked")) {
  1074.  
  1075. /* if downloading the bundle */
  1076. if ($("#downloadForRealz").attr('bundle')) {
  1077. /* construct the name of the link we want */
  1078. linkId = $("a#downloadForRealz").attr("name");
  1079. /* set the real url for download */
  1080. $("a#downloadForRealz").attr("href", $(linkId).attr("href"));
  1081. } else {
  1082. $("a#downloadForRealz").attr("href", $("a#downloadForRealz").attr("name"));
  1083. }
  1084.  
  1085. /* reveal the download button */
  1086. $("a#downloadForRealz").removeClass('disabled');
  1087. } else {
  1088. $("a#downloadForRealz").addClass('disabled');
  1089. }
  1090. }
  1091.  
  1092. function onDownloadForRealz(link) {
  1093. if ($("input#agree").is(':checked')) {
  1094. $("div.sdk-terms").slideUp();
  1095. if ($("#downloadForRealz").attr('bundle') == 'true') {
  1096. $("h2#tos-header").text('Now downloading Android Studio!');
  1097. $(".sdk-terms-intro").text('Redirecting to the install instructions...');
  1098. $("#sdk-terms-form").slideUp(function() {
  1099. setTimeout(function() {
  1100. window.location = "/studio/install.html";
  1101. }, 2000);
  1102. });
  1103. } else {
  1104. $("h2#tos-header").text('Now downloading the Command Line Tools!');
  1105. $(".sdk-terms-intro").html("<p>Because you've downloaded just " +
  1106. "the command line tools (not Android Studio), there are no " +
  1107. "setup procedures to follow.</p><p>For information about how to " +
  1108. "keep your SDK tools up to date, refer to the " +
  1109. "<a href+'/studio/intro/update.html#sdk-manager'>SDK Manager</a> guide.");
  1110. $("#sdk-terms-form").slideUp();
  1111. }
  1112. ga('send', 'event', 'SDK', 'IDE and Tools', $("#downloadForRealz").html());
  1113. return true;
  1114. } else {
  1115. return false;
  1116. }
  1117. }
  1118. </script>
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129. <div class="wrap">
  1130. <footer class="dac-footer ">
  1131. <div class="cols dac-footer-main">
  1132. <div class="col-1of2">
  1133. <a class="dac-footer-getnews" id="newsletter" data-modal-toggle="newsletter" title="Sign up for the newsletter">
  1134. Get news &amp; tips <span class="dac-fab dac-primary"><i class="dac-sprite dac-mail"></i><span class="hide-text">Sign up for the newsletter</span></span>
  1135. </a>
  1136. </div>
  1137. <div class="col-1of2 dac-footer-reachout">
  1138. <div class="dac-footer-contact">
  1139. <a class="dac-footer-contact-link" href="http://android-developers.blogspot.com/" title="Blog">Blog</a>
  1140. <a class="dac-footer-contact-link" href="https://developer.android.com/support.html" title="Support">Support</a>
  1141. </div>
  1142. <div class="dac-footer-social">
  1143. <a class="dac-button-social dac-youtube dac-footer-social-link" href="https://www.youtube.com/user/androiddevelopers" title="Android Developers on YouTube"><i class="dac-sprite dac-youtube"></i><span class="hide-text">Android Developers on YouTube</span></a>
  1144. <a class="dac-button-social dac-gplus dac-footer-social-link" href="https://plus.google.com/+AndroidDevelopers" title="Android Developers on Google+"><i class="dac-sprite dac-gplus"></i><span class="hide-text">Android Developers on Google+</span></a>
  1145. <a class="dac-button-social dac-twitter dac-footer-social-link" href="https://twitter.com/AndroidDev" title="Android Developers on Twitter"><i class="dac-sprite dac-twitter"></i><span class="hide-text">Android Developers on Twitter</span></a>
  1146. </div>
  1147. </div>
  1148. </div>
  1149.  
  1150. <hr class="dac-footer-separator"/>
  1151.  
  1152. <p class="dac-footer-copyright">
  1153. Except as noted, this content is
  1154. licensed under <a href="http://creativecommons.org/licenses/by/2.5/">
  1155. Creative Commons Attribution 2.5</a>. For details and
  1156. restrictions, see the <a href="https://developer.android.com/license.html">Content
  1157. License</a>.
  1158. </p>
  1159.  
  1160.  
  1161. <p class="dac-footer-links">
  1162. <a href="https://developer.android.com/about/android.html" title="About Android">About Android</a>
  1163. <a href="https://developer.android.com/auto/index.html" title="Auto">Auto</a>
  1164. <a href="https://developer.android.com/tv/index.html" title="TV">TV</a>
  1165. <a href="https://developer.android.com/wear/index.html" title="Wear">Wear</a>
  1166. <a href="https://developer.android.com/legal.html" title="Legal">Legal</a>
  1167.  
  1168. <form class="devsite-utility-footer-language" id="setlang" action="/i18n/setlang/" method="post">
  1169. <input type="hidden" name="xsrf_token" value="GLoNOkVvPPnV-hdlldd39hOlZydj7FCGbrWE2tQWllQ6MTQ2NDAwMjU0MDg1OTk0MA" />
  1170. <input type="hidden" name="next" value="/studio/index.html" />
  1171. <span id="language" class="locales">
  1172. <select id="footer_language" name="language">
  1173.  
  1174.  
  1175.  
  1176. <option value="en"
  1177. selected="selected" >
  1178. English
  1179. </option>
  1180.  
  1181. <option value="es"
  1182. >
  1183. español
  1184. </option>
  1185.  
  1186. <option value="in"
  1187. >
  1188. Bahasa Indonesia
  1189. </option>
  1190.  
  1191. <option value="ja"
  1192. >
  1193. 日本語
  1194. </option>
  1195.  
  1196. <option value="ko"
  1197. >
  1198. 한국어
  1199. </option>
  1200.  
  1201. <option value="pt-br"
  1202. >
  1203. Português Brasileiro
  1204. </option>
  1205.  
  1206. <option value="ru"
  1207. >
  1208. Русский
  1209. </option>
  1210.  
  1211. <option value="vi"
  1212. >
  1213. Tiếng Việt
  1214. </option>
  1215.  
  1216. <option value="zh-cn"
  1217. >
  1218. 简体中文
  1219. </option>
  1220.  
  1221. <option value="zh-tw"
  1222. >
  1223. 繁體中文
  1224. </option>
  1225.  
  1226.  
  1227. </select>
  1228. </span>
  1229. </form>
  1230. </p>
  1231. </footer>
  1232. </div><!--/.wrap -->
  1233.  
  1234.  
  1235. <div class="dac-toast-group">
  1236. <div class="dac-toast" data-toast>
  1237. <div class="dac-toast-wrap">
  1238. This site uses cookies to store your preferences for site-specific language and display options.
  1239. </div>
  1240. </div>
  1241. </div>
  1242.  
  1243. <div data-modal="newsletter" data-newsletter data-swap class="dac-modal newsletter">
  1244. <div class="dac-modal-container">
  1245. <div class="dac-modal-window">
  1246. <header class="dac-modal-header">
  1247. <div class="dac-modal-header-actions">
  1248. <button class="dac-modal-header-close" data-modal-toggle></button>
  1249. </div>
  1250. <div class="dac-swap" data-swap-container>
  1251. <section class="dac-swap-section dac-active dac-down">
  1252. <h2 class="norule dac-modal-header-title" data-t="newsletter.title"></h2>
  1253. <p class="dac-modal-header-subtitle" data-t="newsletter.requiredHint"></p>
  1254. </section>
  1255. <section class="dac-swap-section dac-up">
  1256. <h2 class="norule dac-modal-header-title" data-t="newsletter.successTitle">Hooray!</h2>
  1257. </section>
  1258. </div>
  1259. </header>
  1260. <div class="dac-swap" data-swap-container>
  1261. <section class="dac-swap-section dac-active dac-left">
  1262. <form action="https://docs.google.com/forms/d/1QgnkzbEJIDu9lMEea0mxqWrXUJu0oBCLD7ar23V0Yys/formResponse" class="dac-form" method="post" target="dac-newsletter-iframe">
  1263. <input type="hidden" name="entry.935454734" data-newsletter-language>
  1264. <section class="dac-modal-content">
  1265. <fieldset class="dac-form-fieldset">
  1266. <div class="cols">
  1267. <div class="col-1of2 newsletter-leftCol">
  1268. <div class="dac-form-input-group">
  1269. <label for="newsletter-full-name" class="dac-form-floatlabel" data-t="newsletter.name">Full name</label>
  1270. <input type="text" class="dac-form-input" name="entry.1357890476" id="newsletter-full-name" required>
  1271. <span class="dac-form-required">*</span>
  1272. </div>
  1273. <div class="dac-form-input-group">
  1274. <label for="newsletter-email" class="dac-form-floatlabel" data-t="newsletter.email">Email address</label>
  1275. <input type="email" class="dac-form-input" name="entry.472100832" id="newsletter-email" required>
  1276. <span class="dac-form-required">*</span>
  1277. </div>
  1278. </div>
  1279. <div class="col-1of2 newsletter-rightCol">
  1280. <div class="dac-form-input-group">
  1281. <label for="newsletter-company" class="dac-form-floatlabel" data-t="newsletter.company">Company / developer name</label>
  1282. <input type="text" class="dac-form-input" name="entry.1664780309" id="newsletter-company">
  1283. </div>
  1284. <div class="dac-form-input-group">
  1285. <label for="newsletter-play-store" class="dac-form-floatlabel" data-t="newsletter.appUrl">One of your Play Store app URLs</label>
  1286. <input type="url" class="dac-form-input" name="entry.47013838" id="newsletter-play-store" required>
  1287. <span class="dac-form-required">*</span>
  1288. </div>
  1289. </div>
  1290. </div>
  1291. </fieldset>
  1292. <fieldset class="dac-form-fieldset">
  1293. <div class="cols">
  1294. <div class="col-1of2 newsletter-leftCol">
  1295. <legend class="dac-form-legend"><span data-t="newsletter.business.label">Which best describes your business:</span><span class="dac-form-required">*</span>
  1296. </legend>
  1297. <div class="dac-form-radio-group">
  1298. <input type="radio" value="Apps" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-app" required>
  1299. <label for="newsletter-business-type-app" class="dac-form-radio-button"></label>
  1300. <label for="newsletter-business-type-app" class="dac-form-label" data-t="newsletter.business.apps">Apps</label>
  1301. </div>
  1302. <div class="dac-form-radio-group">
  1303. <input type="radio" value="Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-games" required>
  1304. <label for="newsletter-business-type-games" class="dac-form-radio-button"></label>
  1305. <label for="newsletter-business-type-games" class="dac-form-label" data-t="newsletter.business.games">Games</label>
  1306. </div>
  1307. <div class="dac-form-radio-group">
  1308. <input type="radio" value="Apps and Games" class="dac-form-radio" name="entry.1796324055" id="newsletter-business-type-appsgames" required>
  1309. <label for="newsletter-business-type-appsgames" class="dac-form-radio-button"></label>
  1310. <label for="newsletter-business-type-appsgames" class="dac-form-label" data-t="newsletter.business.both">Apps &amp; Games</label>
  1311. </div>
  1312. </div>
  1313. <div class="col-1of2 newsletter-rightCol newsletter-checkboxes">
  1314. <div class="dac-form-radio-group">
  1315. <div class="dac-media">
  1316. <div class="dac-media-figure">
  1317. <input type="checkbox" class="dac-form-checkbox" name="entry.732309842" id="newsletter-add" required value="Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities.">
  1318. <label for="newsletter-add" class="dac-form-checkbox-button"></label>
  1319. </div>
  1320. <div class="dac-media-body">
  1321. <label for="newsletter-add" class="dac-form-label dac-form-aside"><span data-t="newsletter.confirmMailingList"></span><span class="dac-form-required">*</span></label>
  1322. </div>
  1323. </div>
  1324. </div>
  1325. <div class="dac-form-radio-group">
  1326. <div class="dac-media">
  1327. <div class="dac-media-figure">
  1328. <input type="checkbox" class="dac-form-checkbox" name="entry.2045036090" id="newsletter-terms" required value="I acknowledge that the information provided in this form will be subject to Google's privacy policy (https://www.google.com/policies/privacy/).">
  1329. <label for="newsletter-terms" class="dac-form-checkbox-button"></label>
  1330. </div>
  1331. <div class="dac-media-body">
  1332. <label for="newsletter-terms" class="dac-form-label dac-form-aside"><span data-t="newsletter.privacyPolicy" data-t-html></span><span class="dac-form-required">*</span></label>
  1333. </div>
  1334. </div>
  1335. </div>
  1336. </div>
  1337. </div>
  1338. </fieldset>
  1339. </section>
  1340. <footer class="dac-modal-footer">
  1341. <div class="cols">
  1342. <div class="col-2of5">
  1343. </div>
  1344. </div>
  1345. <button type="submit" value="Submit" class="dac-fab dac-primary dac-large dac-modal-action"><i class="dac-sprite dac-arrow-right"></i></button>
  1346. </footer>
  1347. </form>
  1348. </section>
  1349. <section class="dac-swap-section dac-right">
  1350. <div class="dac-modal-content">
  1351. <p class="newsletter-success-message" data-t="newsletter.successDetails"></p>
  1352. </div>
  1353. </section>
  1354. </div>
  1355. </div>
  1356. </div>
  1357. </div><!--/.dac-modal.newsletter-->
  1358.  
  1359.  
  1360. <div data-modal="langform" class="dac-modal" id="langform">
  1361. <div class="dac-modal-container">
  1362. <div class="dac-modal-window">
  1363. <header class="dac-modal-header">
  1364. <div class="dac-modal-header-actions">
  1365. <button class="dac-modal-header-close" data-modal-toggle></button>
  1366. </div>
  1367. <section class="dac-swap-section dac-active dac-down">
  1368. <h2 class="norule dac-modal-header-title"></h2>
  1369. </section>
  1370. </header>
  1371. <section class="dac-swap-section dac-active dac-left">
  1372. <section class="dac-modal-content">
  1373. <fieldset class="dac-form-fieldset">
  1374. <div class="cols">
  1375. <div class="col-2of2 langform-leftCol">
  1376. <p id="resetLangText"></p>
  1377. <p id="resetLangCta"></p>
  1378. </div>
  1379. </div>
  1380. </fieldset>
  1381. </section>
  1382. <footer class="dac-modal-footer" id="langfooter">
  1383. <div class="cols">
  1384. <div class="col-2of5">
  1385. </div>
  1386. </div>
  1387. <a href="#" class="yes" onclick="return false;">
  1388. <button class="button dac-primary dac-modal-action lang yes" data-t="newsletter.resetLangButtonYes" data-modal-toggle></button>
  1389. </a>
  1390. <a href="#" class="" onclick="return false;">
  1391. <button class="button dac-primary dac-modal-action lang no" data-t="newsletter.resetLangButtonNo" data-modal-toggle></button>
  1392. </a>
  1393. </footer>
  1394. </form>
  1395. </section>
  1396. </div>
  1397. </div>
  1398. </div><!--/.dac-modal-->
  1399.  
  1400.  
  1401. <div data-modal="api-unavailable" class="dac-modal" id="api-unavailable">
  1402. <div class="dac-modal-container">
  1403. <div class="dac-modal-window">
  1404. <header class="dac-modal-header">
  1405. <div class="dac-modal-header-actions">
  1406. <button class="dac-modal-header-close" data-modal-toggle></button>
  1407. </div>
  1408. <section class="dac-swap-section dac-active dac-down">
  1409. <h2 class="norule dac-modal-header-title">
  1410. This class requires API level <span class="api-level"></span>
  1411. or higher
  1412. </h2>
  1413. </section>
  1414. </header>
  1415. <section class="dac-swap-section dac-active dac-left">
  1416. <section class="dac-modal-content">
  1417.  
  1418. <p>This doc is hidden because your selected API level for the
  1419. documentation is <span class="selected-level"></span>. You can change the
  1420. documentation API level with the selector above the left navigation.</p>
  1421.  
  1422. <p>For more information about specifying the API level your app requires,
  1423. read <a
  1424. href="/training/basics/supporting-devices/platforms.html">Supporting
  1425. Different Platform Versions</a>.</p>
  1426.  
  1427. </section>
  1428. <footer class="dac-modal-footer" id="langfooter">
  1429. <div class="cols">
  1430. <div class="col-2of5">
  1431. </div>
  1432. </div>
  1433. <a href="#" class="ok" onclick="return false;">
  1434. <button class="button dac-primary dac-modal-action ok"
  1435. data-modal-toggle>
  1436. OK, make this page visible
  1437. </button>
  1438. </a>
  1439. </footer>
  1440. </form>
  1441. </section>
  1442. </div>
  1443. </div>
  1444. </div><!--/.dac-modal#api-unavailable-->
  1445.  
  1446. </div><!--/#body-content-->
  1447.  
  1448. <!-- Nav Setup -->
  1449. <script>$('[data-dac-nav]').dacNav();</script>
  1450. <script type="text/javascript">
  1451. $('.slideshow-container').dacSlideshow({
  1452. btnPrev: '.slideshow-prev',
  1453. btnNext: '.slideshow-next',
  1454. btnPause: '#pauseButton'
  1455. });
  1456.  
  1457. $(".feed").dacTabbedList({
  1458. nav_id: '.feed-nav',
  1459. frame_id: '.feed-frame'
  1460. });
  1461. </script>
  1462.  
  1463. <script src="/ytblogger_lists_unified.js?v=2016052311" defer></script>
  1464. <script src="/jd_lists_unified_en.js?v=2016052311" defer></script>
  1465. <script src="/reference/lists.js?v=2016052311" defer></script>
  1466. <script src="/reference/gcm_lists.js?v=2016052311" defer></script>
  1467. <script src="/reference/gms_lists.js?v=2016052311" defer></script>
  1468. <script src="/reference/android/support/wearable/lists.js?v=2016052311" defer></script>
  1469. <script src="/reference/android/support/test/lists.js?v=2016052311" defer></script>
  1470. <script src="https://developer.android.com/_static2/975991ed10/jsi18n/"></script>
  1471.  
  1472. <script>
  1473. // Load localized metadata.
  1474. (function(lang) {
  1475. if (lang === 'en') { return; }
  1476. // Write it to the document so it gets evaluated before DOMContentReady.
  1477. document.write('<script src="/jd_lists_unified_' + lang + '.js?v=2016052311" defer></' + 'script>');
  1478. })(getLangPref())
  1479.  
  1480. // Add skip to content for accessibility.
  1481. $('#skip-to-main').click(function() {
  1482. $('a[name=top]').focus();
  1483. });
  1484.  
  1485. $('#setlang select').each(function() {
  1486. $(this).change(function() {
  1487. changeLangPref(this.value, true)
  1488. $('#setlang').submit();
  1489. });
  1490. });
  1491. </script>
  1492. </body>
  1493. </html>
  1494. * Connection #0 to host developer.android.com left intact
  1495. craigs-mbp:~ perl$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement