am 78219f04: update download pages for SDK and remove /tools landing page.

* commit '78219f0466a1924e8edb1a0b7a40b7d51d7f6283':
  update download pages for SDK and remove /tools landing page.
This commit is contained in:
smain@google.com
2014-06-13 22:40:49 +00:00
committed by Android Git Automerger
6 changed files with 177 additions and 89 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 134 KiB

View File

@@ -230,7 +230,6 @@ This is the Android Software Development Kit License Agreement
</div> </div>
</div><!-- end TOS --> </div><!-- end TOS -->
@@ -253,16 +252,30 @@ Android SDK components and a version of the Eclipse IDE with built-in
<b>ADT (Android Developer Tools)</b> to <b>ADT (Android Developer Tools)</b> to
streamline your Android app development.</p> streamline your Android app development.</p>
<p>With a single download, the ADT Bundle
<!-- this appears when viewing the online docs -->
<div class="online" style="margin-bottom:85px">
<a class="big button subtitle" id="download-bundle-button"
href="" style="width:295px;display:block;margin:25px 0" ></a>
<p id="not-supported">Choose the SDK package for your OS from the table below.</p>
<p>With a single download, the Eclipse ADT bundle
includes everything you need to begin developing apps:</p> includes everything you need to begin developing apps:</p>
<ul> <ul>
<li>Eclipse + ADT plugin</li> <li>Eclipse + ADT plugin</li>
<li>Android SDK Tools</li> <li>Android SDK Tools</li>
<li>Android Platform-tools</li> <li>Android Platform-tools</li>
<li>The latest Android platform</li> <li>A version of the Android platform</li>
<li>The latest Android system image for the emulator</li> <li>A version of the Android system image for the emulator</li>
</ul> </ul>
</div>
<!-- end online -->
<!-- this appears when viewing the offline docs --> <!-- this appears when viewing the offline docs -->
<p class="offline"> <p class="offline">
@@ -275,52 +288,44 @@ href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a
<div class="col-7" style="margin-right:0;"> <div class="col-7" style="margin-right:0;">
<img src="{@docRoot}images/sdk-cube.png" alt="" height=264 /> <img src="{@docRoot}images/tools-home.png" alt="" height="347" width="400" />
<!-- this appears when viewing the online docs -->
<div class="online">
<a class="big button subtitle" id="download-bundle-button"
href="" style="display:none;width:265px;margin:0 auto;display:block" ></a>
<p id="not-supported">Choose the SDK package for your OS from the table below.</p>
</div>
<!-- end online -->
</div><!-- end col-7 --> </div><!-- end col-7 -->
<div class="col-7" style="background: #ddd;
padding: 30px 20px; width:350px; margin:20px 0 0 20px;">
<h3 style="margin-top:0">
<a href="/sdk/installing/studio.html">Get Android Studio Beta</a>
</h3>
<p>
Android Studio is a new IDE powered by IntelliJ that provides new features and improvements
over ADT. It's currently in beta but will be the official Android IDE once it's ready.</p>
<p style="margin: 0;">
<a href="/sdk/installing/studio.html">Learn more about Android Studio</a></p>
</div>
<!-- alternative SDK options --> <!-- alternative SDK options -->
<div class="col-13" style="margin:0;"> <div class="col-13" style="margin:-70px 0 0;">
<!-- this appears only when viewing the online docs --> <p style="width:340px">If you prefer to use an existing version of Eclipse or another IDE,
<div class="online caution"> you can instead download the stand-alone Android SDK Tools:</p>
<h3 style="margin:0 0 10px 0;font-size:14px">Android Studio Early Access Preview</h3>
<p>A new Android development environment called Android Studio,
based on IntelliJ IDEA, is now available as an <strong>early access preview</strong>.
For more information, see
<a href="{@docRoot}sdk/installing/studio.html">Getting Started with Android Studio</a>.</p>
</div>
<p>If you prefer to use an existing version of Eclipse or another IDE,
you can instead take a more customized approach to installing
the Android SDK. See the following instructions:</p>
<h4 id="ExistingIDE"><a href='' class="expandable" <h4 id="ExistingIDE"><a href='' class="expandable"
onclick="toggleExpandable(this,'.myide');hideExpandable('.pax,.reqs');return false;" onclick="toggleExpandable(this,'.myide');hideExpandable('.pax,.reqs');return false;"
>USE AN EXISTING IDE</a></h4> >GET THE SDK FOR AN EXISTING IDE</a></h4>
<div class="col-13 myide" style="margin:0 0 15px;display:none;"> <div class="col-13 myide" style="margin:0 0 15px;display:none;">
@@ -333,13 +338,11 @@ the ADT plugin to it.</p>
<a class="button subtitle" id="download-tools-button" href="" style="display:none" ></a> <a class="button subtitle" id="download-tools-button" href="" style="display:none" ></a>
</p> </p>
</div> </div>
<h4 id="Requirements"><a href='' class="expandable" <h4 id="Requirements"><a href='' class="expandable"
onclick="toggleExpandable(this,'.reqs');hideExpandable('.pax,.myide');return false;" onclick="toggleExpandable(this,'.reqs');hideExpandable('.pax,.myide');return false;"
>SYSTEM REQUIREMENTS</a></h4> >SYSTEM REQUIREMENTS</a></h4>
@@ -359,23 +362,9 @@ the ADT plugin to it.</p>
</ul> </ul>
</div> </div>
<div class="col-6 reqs" style="margin:0 0 15px 20px;display:none;"> <div class="col-7 reqs" style="margin:0 0 80px 20px;display:none;">
<h5>Eclipse IDE</h5>
<ul>
<li><a href="http://eclipse.org/mobile/">Eclipse</a> 3.7.2 (Indigo) or greater
<p class="note"><strong>Note:</strong> Eclipse 3.6 (Helios) is no longer
supported with the latest version of ADT.</p></li>
<li>Eclipse <a href="http://www.eclipse.org/jdt">JDT</a> plugin (included
in most Eclipse IDE packages) </li>
<li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 6</a>
(JRE alone is not sufficient)</li>
<li><a href="{@docRoot}tools/sdk/eclipse-adt.html">Android Development Tools plugin</a>
(recommended)</li>
<li><strong>Not</strong> compatible with GNU Compiler for Java (gcj)</li>
</ul>
<h5>Development tools</h5>
<h5>Other development environments</h5>
<ul> <ul>
<li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 6</a> <li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 6</a>
(JRE alone is not sufficient)</li> (JRE alone is not sufficient)</li>
@@ -385,6 +374,4 @@ in most Eclipse IDE packages) </li>
<p class="note"><strong>Note:</strong> Some Linux distributions may include JDK 1.4 or Gnu Compiler <p class="note"><strong>Note:</strong> Some Linux distributions may include JDK 1.4 or Gnu Compiler
for Java, both of which are <em>not</em> supported for Android development. </p> for Java, both of which are <em>not</em> supported for Android development. </p>
</div><!-- end col-7 reqs --> </div><!-- end reqs -->

View File

@@ -20,6 +20,18 @@ only if you already have an Eclipse installation that you want to continue using
have Eclipse installed, you should instead <b><a href="{@docRoot}sdk/index.html">install have Eclipse installed, you should instead <b><a href="{@docRoot}sdk/index.html">install
the complete Android SDK</a></b>, which includes the latest IDE for Android developers.</p> the complete Android SDK</a></b>, which includes the latest IDE for Android developers.</p>
<p>Your existing Eclipse installation must meet these requirements:</p>
<ul>
<li><a href="http://eclipse.org/mobile/">Eclipse</a> 3.7.2 (Indigo) or greater
<p class="note"><strong>Note:</strong> Eclipse 3.6 (Helios) is no longer
supported with the latest version of ADT.</p></li>
<li>Eclipse <a href="http://www.eclipse.org/jdt">JDT</a> plugin (included
in most Eclipse IDE packages) </li>
<li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 6</a>
(JRE alone is not sufficient)</li>oid Development Tools plugin</a>
(recommended)</li>
<li><strong>Not</strong> compatible with GNU Compiler for Java (gcj)</li>
</ul>
<h2 id="Download">Download the ADT Plugin</h2> <h2 id="Download">Download the ADT Plugin</h2>

View File

@@ -1,4 +1,4 @@
page.title=Getting Started with Android Studio page.title=Android Studio
page.tags="studio" page.tags="studio"
@jd:body @jd:body
@@ -7,7 +7,7 @@ page.tags="studio"
<div style="position:relative;min-height:660px;"> <div style="position:relative;min-height:660px;">
<h3 style="color:#f80">BETA RELEASE</h3> <h3 style="color:#FF4444;margin:-30px 0 20px">BETA</h3>
<div id="tos" style="position:absolute;display:none;width:inherit;"> <div id="tos" style="position:absolute;display:none;width:inherit;">
<div class="col-13" style="margin:0;">&nbsp;</div><!-- provides top margin for content --> <div class="col-13" style="margin:0;">&nbsp;</div><!-- provides top margin for content -->
@@ -185,19 +185,19 @@ This is the Android Software Development Kit License Agreement
<div id="main"> <div id="main">
<div class="figure" style="width:400px;margin-top:-20px"> <div class="figure" style="width:400px;margin-top:-75px">
<img src="{@docRoot}images/tools/android-studio.png" height="330" width="400" style="margin-bottom:20px" /> <img src="{@docRoot}images/tools/android-studio.png" height="330" width="400" style="margin-bottom:20px" />
<a class="big button subtitle" id="download-ide-button" <a class="big button subtitle" id="download-ide-button"
href="" style="display:none;width:265px;margin:0 auto;display:block;font-size:18px" ></a> href="" style="display:none;width:368px;margin:0 auto;display:block;font-size:18px" ></a>
<div style="width:290px;padding:10px 40px 0 60px;font-size:12px;line-height:16px"> <div style="margin:20px 0 0 0">
<p style="margin-bottom:8px">This download includes:</p> <p style="margin-bottom:8px">This download includes:</p>
<ul> <ul style="margin-bottom:20px">
<li>Android Studio <b>early access preview</b></li> <li>Android Studio Beta</li>
<li>All the Android SDK Tools to design, test, debug, and profile your app</li> <li>All the Android SDK Tools to design, test, and debug your app</li>
<li>The latest Android platform to compile your app</li> <li>A version of the Android platform to compile your app</li>
<li>The latest Android system image to run your app in the emulator</li> <li>A version of the Android system image to run your app in the emulator</li>
</ul> </ul>
</div> </div>
@@ -206,36 +206,34 @@ href="" style="display:none;width:265px;margin:0 auto;display:block;font-size:18
<p>Android Studio is a new Android development environment based on IntelliJ <p>Android Studio is a new Android development environment based on IntelliJ
IDEA. Similar to Eclipse with the IDEA. It provides new features and improvements over Eclipse ADT
ADT Plugin, Android Studio provides integrated Android developer tools and will be the official Android IDE once it's ready. On top of the
for development and debugging. On top of the
capabilities you expect from IntelliJ, Android Studio offers:</p> capabilities you expect from IntelliJ, Android Studio offers:</p>
<ul> <ul>
<li>Gradle-based build support.</li> <li>Flexible Gradle-based build system.</li>
<li>Android-specific refactoring and quick fixes.</li> <li>Build variants and multiple APK generation.</li>
<li>Lint tools to catch performance, usability, version compatibility and other problems.</li> <li>Expanded template support for Google Services and various device types.</li>
<li>ProGuard and app-signing capabilities. </li> <li>Rich layout editor with support for theme editing.</li>
<li>Template-based wizards to create common Android designs and components.</li> <li>Lint tools to catch performance, usability, version compatibility, and other problems.</li>
<li>A rich layout editor that allows you to drag-and-drop UI components, preview layouts on <li>ProGuard and app-signing capabilities.</li>
multiple screen configurations, and much more.</li>
<li>Built-in support for <a <li>Built-in support for <a
href="http://android-developers.blogspot.com/2013/06/adding-backend-to-your-app-in-android.html" href="http://android-developers.blogspot.com/2013/06/adding-backend-to-your-app-in-android.html"
class="external-link">Google Cloud Platform</a>, making it easy to integrate Google Cloud class="external-link">Google Cloud Platform</a>, making it easy to integrate Google Cloud
Messaging and App Engine as server-side components. Messaging and App Engine.
</ul> </ul>
<p class="caution"><strong>Caution:</strong> Android Studio is currently available as <p class="caution"><strong>Caution:</strong> Android Studio is currently in
an <strong>early access preview</strong>. Several features <strong>beta</strong>. Some features
are either incomplete or not yet implemented and you may encounter bugs. If you are not are not yet implemented and you may encounter bugs. If you are not
comfortable using an unfinished product, you may want to instead comfortable using an unfinished product, you may want to instead
download (or continue to use) the download (or continue to use)
<a href="{@docRoot}sdk/index.html">ADT Bundle</a> (Eclipse with the ADT Plugin).</p> <a href="{@docRoot}sdk/index.html">Eclipse with ADT</a>.</p>
<h4 style="clear:right;text-align:right;margin-right:50px"><a href='' class="expandable" <h4 style="margin-top: 20px;"><a href='' class="expandable"
onclick="toggleExpandable(this,'.pax');return false;" onclick="toggleExpandable(this,'.pax');return false;"
>DOWNLOAD FOR OTHER PLATFORMS</a></h4> >VIEW ALL DOWNLOADS AND SIZES</a></h4>
<div class="pax col-13 online" style="display:none;margin:0;"> <div class="pax col-13 online" style="display:none;margin:0;">
@@ -288,6 +286,79 @@ download (or continue to use) the
<h2 style="margin-bottom: 0px;">Android Studio vs. Eclipse ADT Comparison</h2>
<p>
The following table lists some key differences between Android Studio Beta and
<a href="{@docRoot}sdk/index.html">Eclipse with ADT</a>.
</p>
<style>
td.yes {
color: #669900;
}
td.no {
color: #CC0000;
}
</style>
<table>
<tbody><tr>
<th>Feature</th>
<th>Android Studio</th>
<th>ADT</th>
</tr>
<tr>
<td>Build system</td>
<td><a href="http://www.gradle.org/" class="external-link">Gradle</a></td>
<td><a href="http://ant.apache.org/" class="external-link">Ant</a></td>
</tr>
<tr>
<td>Maven-based build dependencies</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<td>Build variants and multiple-APK generation (great for Android Wear)</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<td>Advanced Android code completion and refactoring</td>
<td class="yes">Yes</td>
<td class="no">No</td>
</tr>
<tr>
<td>Graphical layout editor</td>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
</tr>
<tr>
</tr>
<tr>
<td>APK signing</td>
<td class="yes">Yes</td>
<td class="yes">Yes</td>
</tr>
<tr>
<td>Keystore management</td>
<td class="no">Coming soon</td>
<td class="yes">Yes</td>
</tr>
<tr>
<td>NDK support</td>
<td class="no">Coming soon</td>
<td class="yes">Yes</td>
</tr>
</tbody></table>
<h2 id="Updating">Updating from older versions</h2> <h2 id="Updating">Updating from older versions</h2>
<p>If you already have Android Studio installed, in most cases, you can upgrade to the latest <p>If you already have Android Studio installed, in most cases, you can upgrade to the latest
@@ -505,8 +576,8 @@ for possible resolutions to known issues: <a href="http://tools.android.com/know
if (os) { if (os) {
/* set up primary ACE download button */ /* set up primary ACE download button */
$('#download-ide-button').show(); $('#download-ide-button').show();
$('#download-ide-button').append("Download Android Studio <span class='small'>v0.5.2</span>" $('#download-ide-button').append("Download Android Studio Beta <span class='small'>v0.5.2</span>"
+ "<br/> <span class='small'>for " + os + "</span>"); + "<br/> <span class='small'>with the Android SDK for " + os + "</span>");
$('#download-ide-button').click(function() {return onDownload(this,true);}).attr('href', bundlename); $('#download-ide-button').click(function() {return onDownload(this,true);}).attr('href', bundlename);
} else { } else {

View File

@@ -5,6 +5,7 @@ page.title=Using Hardware Devices
<div id="qv"> <div id="qv">
<h2>In this document</h2> <h2>In this document</h2>
<ol> <ol>
<li><a href="#device-developer-options">Enabling On-device Developer Options</a></li>
<li><a href="#setting-up">Setting up a Device for Development</a> <li><a href="#setting-up">Setting up a Device for Development</a>
<ol> <ol>
<li><a href="#VendorIds">USB Vendor IDs</a></li> <li><a href="#VendorIds">USB Vendor IDs</a></li>
@@ -43,6 +44,29 @@ allow you to verify that your application functions properly on different versio
platform, in different screen sizes and orientations, and more.</p> platform, in different screen sizes and orientations, and more.</p>
<h2 id="developer-device-options" style="margin-bottom: 0px;">Enabling On-device Developer Options</h2>
<img src="/images/tools/dev-options-inmilk.png" alt="" style="float:right;margin-left:30px">
<p>Android-powered devices have a host of developer options that you can
access on the phone, which let you:</p>
<ul>
<li>Enable debugging over USB.</li>
<li>Quickly capture bug reports onto the device.</li>
<li>Show CPU usage on screen.</li>
<li>Draw debugging information on screen such as layout bounds,
updates on GPU views and hardware layers, and other information.</li>
<li>Plus many more options to simulate app stresses or enable debugging options.</li>
</ul>
<p>To access these settings, open the <em>Developer options</em> in the
system Settings. On Android 4.2 and higher, the Developer options screen is
hidden by default. To make it visible, go to
<b>Settings &gt; About phone</b> and tap <b>Build number</b> seven times. Return to the previous
screen to find Developer options at the bottom.</p>
<h2 id="setting-up">Setting up a Device for Development</h2> <h2 id="setting-up">Setting up a Device for Development</h2>
<p>With an Android-powered device, you can develop and debug your Android applications just as you <p>With an Android-powered device, you can develop and debug your Android applications just as you

View File

@@ -1,11 +1,5 @@
<ul id="nav"> <ul id="nav">
<li class="nav-section">
<div class="nav-section-header empty">
<a href="<?cs var:toroot ?>tools/index.html"><span class="en">Developer Tools</span></a>
</div>
</li>
<li class="nav-section"> <li class="nav-section">
<div class="nav-section-header"><a href="<?cs var:toroot <div class="nav-section-header"><a href="<?cs var:toroot
?>sdk/index.html"><span class="en">Download</span></a></div> ?>sdk/index.html"><span class="en">Download</span></a></div>