diff options
| author | 2011-10-06 13:54:42 -0700 | |
|---|---|---|
| committer | 2011-10-06 13:54:42 -0700 | |
| commit | 354152118508c2576bdd54fcf49bb8b888d9cfc3 (patch) | |
| tree | 973665fe2c90368ad6a3f9a248b71bfd838d0183 | |
| parent | 2461fef4c07defa5ffc31ef1063d21f94e421700 (diff) | |
| parent | 6c81c3077205659dafe980941beaf65fad849245 (diff) | |
Merge "docs: tools and adt notes"
| -rw-r--r-- | docs/html/sdk/eclipse-adt.jd | 158 | ||||
| -rw-r--r-- | docs/html/sdk/index.jd | 26 | ||||
| -rw-r--r-- | docs/html/sdk/sdk_toc.cs | 21 | ||||
| -rw-r--r-- | docs/html/sdk/tools-notes.jd | 54 |
4 files changed, 212 insertions, 47 deletions
diff --git a/docs/html/sdk/eclipse-adt.jd b/docs/html/sdk/eclipse-adt.jd index bbf7cbe8cc78..333efa27724c 100644 --- a/docs/html/sdk/eclipse-adt.jd +++ b/docs/html/sdk/eclipse-adt.jd @@ -1,8 +1,8 @@ page.title=ADT Plugin for Eclipse -adt.zip.version=12.0.0 -adt.zip.download=ADT-12.0.0.zip -adt.zip.bytes=5651973 -adt.zip.checksum=8ad85d0f3da4a2b8dadfddcc2d66dbcb +adt.zip.version=14.0.0 +adt.zip.download=ADT-14.0.0.zip +adt.zip.bytes=6745584 +adt.zip.checksum=a645330d90fd9dae6187662bb1c3c644 @jd:body @@ -22,7 +22,7 @@ adt.zip.checksum=8ad85d0f3da4a2b8dadfddcc2d66dbcb </li> <li><a href="#updating">Updating the ADT Plugin</a></li> </ol> - + <h2>See also</h2> <ol> <li><a href="{@docRoot}guide/developing/tools/adt.html">Android Developer Tools</a></li> @@ -110,6 +110,124 @@ padding: .25em 1em; <a href="#" onclick="return toggleDiv(this)"> <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" /> +ADT 14.0.0</a> <em>(October 2011)</em> + <div class="toggleme"> +<dl> + +<dt>Dependencies:</dt> + +<dd>ADT 14.0.0 is designed for use with <a href="{@docRoot}sdk/tools-notes.html">SDK Tools r14</a>. +If you haven't already installed SDK Tools r14 into your SDK, use the Android SDK and AVD Manager to +do so.</dd> + +<dt>Build system</dt> +<dd> + <ul> + <li>Changed <code>default.properties</code> to <code>project.properties</code> and + <code>build.properties</code> to <code>ant.properties</code>. ADT automatically + renames these files, if necessary, when you open a project in Eclipse.</li> + <li>Changed how library projects are built in Eclipse.</a></li> + <li>Changed output of <code>javac</code> from <code>bin/</code> to <code>bin/classes</code> + in Eclipse.</li> + <li>Improved incremental builds so that resource compilation runs less frequently. Builds no + longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer + run once for each library project.</li> + <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of + crunching all existing PNG files, all the time.</li> + <li>Modified resource compilation so it no longer happens for normal save operations. It only + happens when running or debugging (the build option that lets you disable the packaging + step, which was introduced in ADT 12, is now on by default.)</li> + </ul> +<p>For a complete overview of the build system changes and what you need to do to support them, +see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project +site</a>.</p> +</dd> + +<dt>General improvements</dt> +<dd> + <ul> + + +<li>Added a Welcome Wizard to help with the initial setup of the Android +development environment (<a href="http://tools.android.com/recent/welcomewizard">more +info</a>).</li> +<li>Integrated the Android Asset Studio, which helps you create icons for things +like the launcher, menus, and tabs. (<a +href="http://tools.android.com/recent/assetstudiointegration">more +info</a>).</li> +<li>Revamped the Logcat view and added support to display and filter logs by + application names as well as PIDs (<a + href="http://tools.android.com/recent/updatedlogcatviewer">more info</a>).</li> +<li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more +info</a>).</li> +<li>Revamped the New Project and the New XML File wizards to have +multiple pages. Sample projects are now copied into the workspace such that they can be modified +and deleted without affecting the master copy +(<a href="http://tools.android.com/recent/revampedwizards">more info</a>).</li> +<li>Removed the dependency on Eclipse GEF.</li> +</ul> +</dd> + +<dt>XML and Java editors</dt> +<dd> + <ul> + <li>Added a new XML formatter that formats all XML files according to the + standard Android coding style. The formatter can also reorder + attributes to follow a recommended order and processes any changes made in the Layout editor. +(<a href="http://tools.android.com/recent/xmlformatter">more info</a>).</li> + <li>Added the "Go to Matching" (Ctrl-Shift-P) feature, which lets you jump +between opening and closing tags in XML files.</li> + <li>Added support for the "Select Enclosing Element" feature on Mac.</li> + <li>Added a Quickfix for extracting Strings when the caret is inside a String (<a href="">see +more</a>).</li> + <li>Improved "smart indent", which allows automatic indentation and un-indentation + when pressing the Return key in XML editors (<a +href="http://tools.android.com/recent/xmleditingimprovements">more info</a>).</li> + + </ul> +</dd> + +<dt>Layout editor</dt> +<dd> + <ul> + <li>Added tooltip feedback for dragging and resizing operations. For + example, when dragging in a relative layout, the proposed + constraints are shown. When resizing, the new dimensions are + shown (<a href="http://tools.android.com/recent/layouteditorfeedbacktooltips">more +info</a>).</li> + <li>Added the ability to suppress rendering fidelity warnings (<a +href="http://tools.android.com/recent/suppressrenderwarnings">more info</a>).</li> + <li>Added "Remove Container" visual refactoring that removes the + children of a container up to the top level and transfers + namespace and layout attributes if necessary (<a +href="http://tools.android.com/recent/removecontainervisualrefactoring">more info</a>).</li> + <li>Added pull-right menus to the context menu for accessing + properties of the parents, which is useful when the children fully + cover the parent and make it hard to select on their own.</li> + <li>Improved access to properties in the context menu. The most + frequently set attributes for each view are listed at the top of + the menu. The Properties menu offers access to the most + recently set attributes, attributes organized by their defining + view, and layout attributes only or all attributes alphabetically (<a +href="http://tools.android.com/recent/layouteditorcontextmenuimprovements">more info</a>).</li> + </ul> +</dd> + +<dt>Bug fixes</dt> +<dd>Fixed many bugs and added <a +href="http://tools.android.com/recent/miscellaneousrecentfixes">minor improvements</a>, in +particular some <a href="http://tools.android.com/recent/linuxfixes">critical bug fixes on +Linux</a>.</dd> + +</div> +</div> + + + +<div class="toggleable closed"> + <a href="#" onclick="return toggleDiv(this)"> + <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" +width="9px" /> ADT 12.0.0</a> <em>(July 2011)</em> <div class="toggleme"> <dl> @@ -141,7 +259,7 @@ the Android SDK and AVD Manager to do so.</dd> <dt>Build system</dt> <dd> <ul> - <li>A new option lets you disable the packaging step in the automatic + <li id="build-option">A new option lets you disable the packaging step in the automatic builders. This improves performance when saving files by not performing a full build, which can take a long time for large projects. If the option is enabled, the APK is packaged when the @@ -225,7 +343,7 @@ drag them into your layout (<a href="http://tools.android.com/recent/customviewsinthepalette">more info</a>).</li> <li>Fragments are available in the palette for placement in your layout. In the tool, you can choose which layout to show rendered for a given fragment tag. Go to declaration works for fragment -classes (<a href="http://tools.android.com/recent/fragmentsupport">more info</a>).</li> +classes (<a href="http://tools.android.com/recent/fragmentsupport">more info</a>).</li> <li>The layout editor automatically applies a "zoom to fit" for newly opened files as well as on device size and orientation changes to ensure that large layouts are always fully visible unless you @@ -253,7 +371,7 @@ fields to change the focus.</li> <dt>XML editors:</dt> <dd> -<ul> +<ul> <li>Code completion has been significantly improved. It now works with {@code <style>} elements, completes dimensional units, sorts resource paths in values based on the attribute name, and more. There are also many fixes to @@ -270,7 +388,7 @@ info</a>).</li> <dt>DDMS:</dt> <dd> -<ul> +<ul> <li>"New Folder" action in the File Explorer.</li> <li>The screenshot dialog will add timestamps to the filenames and preserve the orientation on snapshot refresh.</li> @@ -367,7 +485,7 @@ so.</dd> (<a href="http://tools.android.com/recent/improvedsupportformergetags">details</a>).</li> <li>Improved rendering error diagnostics.</li> </ul> - </li> + </li> </ul> </dd> </dl> @@ -391,14 +509,14 @@ so.</dd> <dt>General notes:</dt> <dd> - <ul> + <ul> <li>"Go To Declaration" hyperlink support: You can jump directly from code references (such as <code>R.id.main</code>) to the corresponding XML declaration, or from XML attributes (such as <code>@string</code>) to the corresponding resource definition, or from manifest XML registrations to activities and services.</li> <li>Improvements were made to name refactoring.</li> <li>AVDs now automatically save their state, so they can restart almost instantly. You can enable this feature when - creating an AVD or by editing an AVD with the AVD Manager.</li> + creating an AVD or by editing an AVD with the AVD Manager.</li> <li>Improvements to the Visual Layout Editor: <ul> <li>Support for rendering targets: You can now choose an arbitrary Android platform to @@ -436,10 +554,10 @@ so.</dd> into an {@link android.widget.AdapterView}.</li> <li>Outline reordering: Reordering your views in the Outline tab is much easier (<a href="http://tools.android.com/recent/outlineimprovements">Details</a>).</li> - <li>Fix for keybinding bug where keyboard shortcuts did not work (Issues - <a href="http://code.google.com/p/android/issues/detail?id=13231">13231</a> and + <li>Fix for keybinding bug where keyboard shortcuts did not work (Issues + <a href="http://code.google.com/p/android/issues/detail?id=13231">13231</a> and <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li> - <li>Fix for problems with Custom layout attribute menu (Issue + <li>Fix for problems with Custom layout attribute menu (Issue <a href="http://code.google.com/p/android/issues/detail?id=13134">13134</a>).</li> <li>Automatic configuration for various view types: Certain views have properties configured by default. For example, the width of an {@link android.widget.EditText} object is set to @@ -455,7 +573,7 @@ so.</dd> and <a href="http://code.google.com/p/android/issues/detail?id=13092">13092</a>).</li> <li>Included layouts can be rendered and edited in the context of the layouts that include them. From a layout using an <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"> - <code><include></code></a> tag, double-clicking on the + <code><include></code></a> tag, double-clicking on the <a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"> <code><include></code></a> element edits the referenced layout in the context of the current layout. Additionally, when editing a layout that is included by other layouts, @@ -466,12 +584,12 @@ so.</dd> <li>This release fixes many other bugs, but the most important ones are listed below: <ul> <li>Fixed issue that prevented launching debug builds on productions devices when - <code>debuggable=true</code> was not set in the Android manifest.</li> + <code>debuggable=true</code> was not set in the Android manifest.</li> <li>The LogCat view in DDMS properly handles UTF-8 characters.</li> <li>The SDK Manager is more reliable on Windows (<a href="http://tools.android.com/recent/sdkmanagerfixes">Details</a>).</li> - <li>A JUnit initialization bug that prevented you from working with JUnit tests was fixed - (Issue <a href="http://code.google.com/p/android/issues/detail?id=12411">12411</a>).</li> + <li>A JUnit initialization bug that prevented you from working with JUnit tests was fixed + (Issue <a href="http://code.google.com/p/android/issues/detail?id=12411">12411</a>).</li> </ul> </li> </ul> @@ -828,7 +946,7 @@ a list of Eclipse versions that are compatible with the Android SDK.</li></p> <ul> <li>If Eclipse is already installed on your computer, make sure that it is -a version that is compatible with ADT and the Android SDK. +a version that is compatible with ADT and the Android SDK. <li>If you need to install or update Eclipse, you can download it from this location: diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd index 105c868f835c..065f41b68226 100644 --- a/docs/html/sdk/index.jd +++ b/docs/html/sdk/index.jd @@ -1,21 +1,21 @@ page.title=Android SDK sdk.redirect=0 -sdk.win_installer=installer_r13-windows.exe -sdk.win_installer_bytes=36533357 -sdk.win_installer_checksum=cd3a76fe2b8ed62b2d03cf1851692e2d +sdk.win_installer=installer_r14-windows.exe +sdk.win_installer_bytes=33860145 +sdk.win_installer_checksum=7a563491bf4671d09b9da0dcde85f212 -sdk.win_download=android-sdk_r13-windows.zip -sdk.win_bytes=36487911 -sdk.win_checksum=de8a039891e5e65b7742f188f07b992d +sdk.win_download=android-sdk_r14-windows.zip +sdk.win_bytes=33852972 +sdk.win_checksum=d1381a0cc8e6f9358174aa6d051ba379 -sdk.mac_download=android-sdk_r13-mac_x86.zip -sdk.mac_bytes=30233944 -sdk.mac_checksum=f4002a0344b48856c09dec796acecd4d +sdk.mac_download=android-sdk_r14-macosx.zip +sdk.mac_bytes=30426052 +sdk.mac_checksum=df0a5c5b5327ffcaf256ce735998e12a -sdk.linux_download=android-sdk_r13-linux_x86.tgz -sdk.linux_bytes=30034328 -sdk.linux_checksum=d80d7530a46c665644ae76084a9a0dc4 +sdk.linux_download=android-sdk_r14-linux.tgz +sdk.linux_bytes=26083315 +sdk.linux_checksum=2049d5c1a164fcae47a5e93c52200752 @jd:body @@ -39,7 +39,7 @@ then read the guide to <a href="installing.html">Installing the SDK</a>.</p> <style type="text/css"> .offline-message { display:none; } </style> - + <p class="offline-message">For more information about how to set up your development environment, read the guide to <a href="installing.html">Installing the SDK</a>.</p> diff --git a/docs/html/sdk/sdk_toc.cs b/docs/html/sdk/sdk_toc.cs index 8a57312a4690..74d1c23aac13 100644 --- a/docs/html/sdk/sdk_toc.cs +++ b/docs/html/sdk/sdk_toc.cs @@ -22,7 +22,7 @@ <span style="display:none" class="ja">ダウンロード</span> <span style="display:none" class="zh-CN">下载</span> <span style="display:none" class="zh-TW">下載</span> - </a></li><?cs + </a></li><?cs /if ?> <li><a href="<?cs var:toroot ?>sdk/installing.html"> <span class="en">Installing the SDK</span> @@ -87,7 +87,7 @@ class="new">new!</span></li> <div><a href="<?cs var:toroot ?>sdk/android-3.1.html"> <span class="en">Android 3.1 Platform</span></a></div> <ul> - <li><a href="<?cs var:toroot ?>sdk/android-3.1-highlights.html">Platform Highlights</a></li> + <li><a href="<?cs var:toroot ?>sdk/android-3.1-highlights.html">Platform Highlights</a></li> <li><a href="<?cs var:toroot ?>sdk/api_diff/12/changes.html">API Differences Report »</a></li> </ul> </li> @@ -95,7 +95,7 @@ class="new">new!</span></li> <div><a href="<?cs var:toroot ?>sdk/android-3.0.html"> <span class="en">Android 3.0 Platform</span></a></div> <ul> - <li><a href="<?cs var:toroot ?>sdk/android-3.0-highlights.html">Platform Highlights</a></li> + <li><a href="<?cs var:toroot ?>sdk/android-3.0-highlights.html">Platform Highlights</a></li> <li><a href="<?cs var:toroot ?>sdk/api_diff/11/changes.html">API Differences Report »</a></li> </ul> </li> @@ -104,14 +104,14 @@ class="new">new!</span></li> <div><a href="<?cs var:toroot ?>sdk/android-2.3.3.html"> <span class="en">Android 2.3.3 Platform</span></a></div> <ul> - <li><a href="<?cs var:toroot ?>sdk/api_diff/10/changes.html">API Differences Report »</a></li> + <li><a href="<?cs var:toroot ?>sdk/api_diff/10/changes.html">API Differences Report »</a></li> </ul> </li> <li class="toggle-list"> <div><a href="<?cs var:toroot ?>sdk/android-2.2.html"> <span class="en">Android 2.2 Platform</span></a></div> <ul> - <li><a href="<?cs var:toroot ?>sdk/android-2.2-highlights.html">Platform Highlights</a></li> + <li><a href="<?cs var:toroot ?>sdk/android-2.2-highlights.html">Platform Highlights</a></li> <li><a href="<?cs var:toroot ?>sdk/api_diff/8/changes.html">API Differences Report »</a></li> </ul> </li> @@ -129,8 +129,8 @@ class="new">new!</span></li> <div><a href="<?cs var:toroot ?>sdk/android-2.3.html"> <span class="en">Android 2.3 Platform</span></a></div> <ul> - <li><a href="<?cs var:toroot ?>sdk/android-2.3-highlights.html">Platform Highlights</a></li> - <li><a href="<?cs var:toroot ?>sdk/api_diff/9/changes.html">API Differences Report »</a></li> + <li><a href="<?cs var:toroot ?>sdk/android-2.3-highlights.html">Platform Highlights</a></li> + <li><a href="<?cs var:toroot ?>sdk/api_diff/9/changes.html">API Differences Report »</a></li> </ul> </li> <li><a href="<?cs var:toroot ?>sdk/android-2.0.1.html">Android 2.0.1 Platform</a></li> @@ -142,7 +142,7 @@ class="new">new!</span></li> </li> </ul> <ul> - <li><a href="<?cs var:toroot ?>sdk/tools-notes.html">SDK Tools, r13</a> <span + <li><a href="<?cs var:toroot ?>sdk/tools-notes.html">SDK Tools, r14</a> <span class="new">new!</span></li> <li><a href="<?cs var:toroot ?>sdk/win-usb.html">Google USB Driver, r4</a></li> <li><a href="<?cs var:toroot ?>sdk/compatibility-library.html">Compatibility Package, @@ -161,14 +161,15 @@ r3</a></li> <span style="display:none" class="zh-TW"></span> </h2> <ul> - <li><a href="<?cs var:toroot ?>sdk/eclipse-adt.html">ADT 12.0.0 + <li><a href="<?cs var:toroot ?>sdk/eclipse-adt.html">ADT 14.0.0 <span style="display:none" class="de"></span> <span style="display:none" class="es"></span> <span style="display:none" class="fr"></span> <span style="display:none" class="it"></span> <span style="display:none" class="ja"></span> <span style="display:none" class="zh-CN"></span> - <span style="display:none" class="zh-TW"></span></a> + <span style="display:none" class="zh-TW"></span></a> <span +class="new">new!</span> </li> </ul> </li> diff --git a/docs/html/sdk/tools-notes.jd b/docs/html/sdk/tools-notes.jd index 2179cec6036d..2d044ed89918 100644 --- a/docs/html/sdk/tools-notes.jd +++ b/docs/html/sdk/tools-notes.jd @@ -2,7 +2,7 @@ page.title=SDK Tools @jd:body <p>SDK Tools is a downloadable component for the Android SDK. It includes the -complete set of development and debugging tools for the Android SDK. </p> +complete set of development and debugging tools for the Android SDK.</p> <p>If you are new to the Android SDK, the <a href="{@docRoot}sdk/index.html">SDK starter package</a> installs the @@ -13,7 +13,7 @@ of the SDK Tools, use the <em>Android SDK and AVD Manager</em> to get the update, rather than downloading a new SDK starter package. For more information about how to update, see <a href="{@docRoot}sdk/adding-components.html#UpdatingComponents">Updating SDK -Components</a>. </p> +Components</a>.</p> <h2 id="notes">Revisions</h2> @@ -62,10 +62,56 @@ padding: .25em 1em; } </style> - <div class="toggleable opened"> <a href="#" onclick="return toggleDiv(this)"> - <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" /> + <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" + width="9px" />SDK Tools, Revision 14</a> <em>(October 2011)</em> + <div class="toggleme"> + <dl> +<dt>Dependencies:</dt> +<dd> + <ul><li>Android SDK Platform-tools revision 8 or later.</li> + <li>If you are developing in Eclipse with ADT, note that the SDK Tools r14 is designed for use + with ADT 14.0.0 and later. If you haven't already, we highly recommend updating your <a + href="{@docRoot}sdk/eclipse-adt.html">ADT Plugin</a> to 14.0.0.</li> + <li>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache + Ant</a> 1.8 or later.</li> +</ul> + +<dt>General notes:</dt> +<dd> + <ul> + <li>Changed <code>default.properties</code> to <code>project.properties</code> and + <code>build.properties</code> to <code>ant.properties</code>. Any existing + projects that you build with Ant must be updated with the <code>android update project</code> + command.</li> + <li>Changed Ant <code>build.xml</code> file to support improvements to the + build system and added and modified Ant commands to support these changes. For a list of Ant +commands, see the +<a href="{@docRoot}guide/developing/building/building-cmdline.html#AntReference">Ant Command +Reference</a>.</li> + + <li>Changed how library projects are built.</a></li> + <li>Improved incremental builds, so that resource compilation runs less frequently. Builds no + longer run when you edit strings or layouts (unless you add a new <code>id</code>) and no longer + run once for each library project.</li> + <li>Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of + crunching all existing PNG files, all the time.</li> + <li>Revamped the SDK Manager UI (<a href="http://tools.android.com/recent/newsdkmanager">more +info</a>).</li> + </ul> + <p>For a complete overview of the build system changes and what you need to do to support them, +see the <a href="http://tools.android.com/recent/buildchangesinrevision14">Android Tools Project +site</a>.</p> +</dd> +</dl> +</div> +</div> + +<div class="toggleable closed"> + <a href="#" onclick="return toggleDiv(this)"> + <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px" + width="9px" /> SDK Tools, Revision 13</a> <em>(September 2011)</em> <div class="toggleme"> <dl> |