Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d08debcb authored by Scott Main's avatar Scott Main
Browse files

docs: bring back the SDK EULA wall for downloading archived SDKs

Change-Id: Ieccd0d03ca49a68d7d4956aa4991d8a73ffff674
parent f42937a8
Loading
Loading
Loading
Loading
+90 −1
Original line number Diff line number Diff line
sdk.redirect=true
page.title=Download an Archived Android SDK
hide_license_footer=true

@jd:body

<script type="text/javascript">
  function verify() {
    document.getElementById('download-button').disabled =
!document.getElementById('checkbox').checked;
  }
  function submit() {
    var location = window.location.href;
    if (location.indexOf('?v=') != -1) {
      var filename = location.substring(location.indexOf('=')+1,location.length);
      if (document.getElementById('checkbox').checked) {
        document.location = "http://dl.google.com/android/" + filename;
      }
      document.getElementById('click-download').setAttribute("href", "http://dl.google.com/android/"
+ filename);
      $("#terms-form").hide(500);
      $("#next-steps").show(500);
      document.getElementById('checkbox').disabled=true;
      document.getElementById('download-button').disabled=true;
    } else {
      alert("You have not selected an SDK version. Please return to the SDK Archives page");
    }
  }
</script>

<div id="terms-form">
    <p>Please carefully review the Android SDK License Agreement before downloading the SDK.
The License Agreement constitutes a contract between you and Google with respect to your use of the
SDK.</p>
    <p class="note"><strong>Note:</strong> You must agree to this license agreement in order to
download one of the archived SDKs, because these SDK packages contain Google software (whereas, the
<a href="http://developer.android.com/sdk/index.html">current SDK</a> packages do not require a
license agreement, because they contain only the open sourced SDK tools).</p>

  <iframe id="terms" style="border:1px solid #888;margin:0 0 1em;height:400px;width:95%;"
src="terms_body.html">
  </iframe>

  <p>
    <input type="checkbox" id="checkbox" onclick="verify()" />
    <label for="checkbox">I agree to the terms of the Android SDK License Agreement.</label>
  </p>
  <p>
    <input type="submit" value="Download" id="download-button" disabled="disabled"
onclick="submit()" />
  </p>
  <p>
  <script language="javascript">
    var loc = window.location.href;
    if (loc.indexOf('?v=') != -1) {
      var filename = loc.substring(loc.indexOf('=')+1,loc.length);
      document.write("File: " + filename);
    }
  </script>
  </p>
</div><!-- end terms-form -->

<noscript>
  <p><strong>Please enable Javascript in your browser in order to agree to the terms and download
the SDK.</strong></p>
</noscript>

<div class="special" id="next-steps" style="display:none">
  <p>Your download should be underway. If not, <a id="click-download">click here to start the
download</a>.</p>
  <p>Beware that you've just downloaded a very old version of the Android SDK, which is not
recommended. We no longer maintain documentation about how to install these archived SDKs nor
support the tools contained within.</p>
  <p>We recommend that you instead download the latest <a
href="http://developer.android.com/sdk/index.html">Android SDK starter package</a>, which includes
the latest SDK tools and allows you to develop against any version of the Android platform, back to
Android 1.1.</p>
</div>

<script type="text/javascript">
  var loc = window.location.href;
  var filename = loc.substring(loc.indexOf('=')+1,loc.length);
  version = filename.substring(filename.indexOf('.')-1,filename.lastIndexOf('.'));
  $(".addVersionPath").each(function(i) {
    var oldHref = $(this).attr("href");
    $(this).attr({href: "/sdk/" + version + "/" + oldHref});
  });
</script>





+21 −21
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ Notes</a></em></p>
    <td>Windows</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-windows-1.6_r1.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.6_r1.zip">android-sdk-
windows-1 .6_r1.zip</a>
    </td>
    <td>260529085 bytes</td>
@@ -57,7 +57,7 @@ windows-1 .6_r1.zip</a>
    <td>Mac OS X (intel)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.6_r1.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.6_r1.zip">android-sdk-
mac_x86-1 .6_r1.zip</a>
    </td>
    <td>247412515 bytes</td>
@@ -67,7 +67,7 @@ mac_x86-1 .6_r1.zip</a>
    <td>Linux (i386)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.6_r1.tgz">android-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-linux_x86-1.6_r1.tgz">android-
sdk- linux_x86-1.6_r1.tgz</a>
    </td>
    <td>238224860 bytes</td>
@@ -92,7 +92,7 @@ Notes</a></em></p>
    <td>Windows</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-windows-1.5_r3.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.5_r3.zip">android-sdk-
windows-1 .5_r3.zip</a>
    </td>
    <td>191477853 bytes</td>
@@ -102,7 +102,7 @@ windows-1 .5_r3.zip</a>
    <td>Mac OS X (intel)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.5_r3.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.5_r3.zip">android-sdk-
mac_x86-1 .5_r3.zip</a>
    </td>
    <td>183024673 bytes</td>
@@ -112,7 +112,7 @@ mac_x86-1 .5_r3.zip</a>
    <td>Linux (i386)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.5_r3.zip">android-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-linux_x86-1.5_r3.zip">android-
sdk- linux_x86-1.5_r3.zip</a>
    </td>
    <td>178117561 bytes</td>
@@ -137,7 +137,7 @@ Notes</a></em></p>
    <td>Windows</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-windows-1.1_r1.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.1_r1.zip">android-sdk-
windows-1
.1_r1.zip</a>
    </td>
@@ -148,7 +148,7 @@ windows-1
    <td>Mac OS X (intel)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.1_r1.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.1_r1.zip">android-sdk-
mac_x86-1
.1_r1.zip</a>
    </td>
@@ -159,7 +159,7 @@ mac_x86-1
    <td>Linux (i386)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.1_r1.zip">android-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-linux_x86-1.1_r1.zip">android-
sdk-
linux_x86-1.1_r1.zip</a>
    </td>
@@ -185,7 +185,7 @@ Notes</a></em></p>
    <td>Windows</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-windows-1.0_r2.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.0_r2.zip">android-sdk-
windows-1
.0_r2.zip</a>
    </td>
@@ -196,7 +196,7 @@ windows-1
    <td>Mac OS X (intel)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.0_r2.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.0_r2.zip">android-sdk-
mac_x86-1
.0_r2.zip</a>
    </td>
@@ -207,7 +207,7 @@ mac_x86-1
    <td>Linux (i386)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.0_r2.zip">android-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-linux_x86-1.0_r2.zip">android-
sdk-
linux_x86-1.0_r2.zip</a>
    </td>
@@ -241,7 +241,7 @@ Notes</a></em></p>
    <td>Windows</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-windows-1.5_r2.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.5_r2.zip">android-sdk-
windows-1 .5_r2.zip</a>
    </td>
    <td>178346828 bytes</td>
@@ -251,7 +251,7 @@ windows-1 .5_r2.zip</a>
    <td>Mac OS X (intel)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.5_r2.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.5_r2.zip">android-sdk-
mac_x86-1 .5_r2.zip</a>
    </td>
    <td>169945128 bytes</td>
@@ -261,7 +261,7 @@ mac_x86-1 .5_r2.zip</a>
    <td>Linux (i386)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.5_r2.zip">android-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-linux_x86-1.5_r2.zip">android-
sdk- linux_x86-1.5_r2.zip</a>
    </td>
    <td>165035130 bytes</td>
@@ -286,7 +286,7 @@ Notes</a></em></p>
    <td>Windows</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-windows-1.5_r1.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.5_r1.zip">android-sdk-
windows-1 .5_r1.zip</a>
    </td>
    <td>176263368 bytes</td>
@@ -296,7 +296,7 @@ windows-1 .5_r1.zip</a>
    <td>Mac OS X (intel)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.5_r1.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.5_r1.zip">android-sdk-
mac_x86-1 .5_r1.zip</a>
    </td>
    <td>167848675 bytes</td>
@@ -306,7 +306,7 @@ mac_x86-1 .5_r1.zip</a>
    <td>Linux (i386)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.5_r1.zip">android-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-linux_x86-1.5_r1.zip">android-
sdk- linux_x86-1.5_r1.zip</a>
    </td>
    <td>162938845 bytes</td>
@@ -331,7 +331,7 @@ Notes</a></em></p>
    <td>Windows</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-windows-1.0_r1.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.0_r1.zip">android-sdk-
windows-1 .0_r1.zip</a>
    </td>
    <td>89.7 MB bytes</td>
@@ -341,7 +341,7 @@ windows-1 .0_r1.zip</a>
    <td>Mac OS X (intel)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.0_r1.zip">android-sdk-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.0_r1.zip">android-sdk-
mac_x86-1 .0_r1.zip</a>
    </td>
    <td>87.5 MB bytes</td>
@@ -351,7 +351,7 @@ mac_x86-1 .0_r1.zip</a>
    <td>Linux (i386)</td>
    <td>
  <a
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.0_r1.zip">android-
href="{@docRoot}sdk/download.html?v=archives/android-sdk-linux_x86-1.0_r1.zip">android-
sdk- linux_x86-1.0_r1.zip</a>
    </td>
    <td>87.8 MB bytes</td>
+336 −0

File added.

Preview size limit exceeded, changes collapsed.