cherry pick Change-Id: I30e939d1dd5603a05070486c8a43187bedef52a4

Doc change: Updating ndk/sdk/tools overview pages for hc preview

Change-Id: I7e5feecc645be48e92d1f4a6d80f86ddb98e48b9
This commit is contained in:
Robert Ly
2011-01-14 16:25:09 -08:00
committed by Scott Main
parent 47171a7b65
commit edc2aac7bf
3 changed files with 217 additions and 2 deletions

View File

@@ -100,6 +100,115 @@ 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 9.0.0</a> <em>(January 2011)</em>
<div class="toggleme">
<dl>
<dt>Dependencies:</dt>
<dd>ADT 9.0.0 is designed for use with SDK Tools r9. If you haven't
already installed SDK Tools r9 into your SDK, use the Android SDK and AVD Manager to do
so.</dd>
<dt>General notes:</dt>
<dd>
<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>
<li>Improvements to the Visual Layout Editor:
<ul>
<li>Support for rendering targets: You can now choose an arbitrary Android platform to
render the current page, regardless of the project's minimum platform. This makes it
easy to verify the layout and appearance of your activity on different versions of
the platform.
</li>
<li>Improved support for empty and nested layouts: Dragging items over nested and
invisible layouts automatically enlarges and highlights these layouts, so that they
can receive drops.
</li>
<li>XML formatting improvements: The editor generates cleaner XML and you can now enable
XML auto-formatting in the <strong>Preferences</strong> menu.</li>
<li>Improved Outline labels: The Outline tab now displays additional information about each
View. Textual Views display a snippet of the actual text. Views with a source
(such as ImageView) displays the resource name. Included Views display the name of the View.
</li>
<li>When you right click a View in the Layout Editor,
the context menu now contains <strong>Edit ID...</strong> and <strong>Edit Text...</strong>
items. The <strong>Properties...</strong> context menus now list all of the properties and
provide a way to edit them
(<a href="http://tools.android.com/recent/editidtextandotherpropertiesviamenu">Details</a>).
</li>
<li>The layout editor now properly handles
<a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element"><code>&lt;include&gt;</code></a>
and <a href="{@docRoot}guide/topics/resources/layout-resource.html#merge-element"><code>&lt;merge&gt;</code></a>
tags (<a href="http://tools.android.com/recent/supportforincludeandmerge">Details</a>).</li>
<li>"Extract as Include" refactoring: The Layout Editor has a new refactoring that allows
you to select one or more views in a layout, and extract it into a separate layout
(<a href="http://tools.android.com/recent/extractasincluderefactoring">Details</a>).</li>
<li>Improved diagnostics for class loading and rendering errors: Class loading and rendering
error messages are more useful and provide better information about the root cause of the
error.</li>
<li>Improved error handling to prevent drag and reordering operations from adding children
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
<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
<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
<code>match_parent</code> when added to a vertical {@link android.widget.LinearLayout}
or a default image is added to an {@link android.widget.ImageButton}.</li>
<li>Previews during dragging: Dragging from the palette or dragging within the layout editor
now shows live previews of the dragged item.</li>
<li>Navigation improvements: In the Layout Editor, double-clicking Views jumps to the
corresponding XML element. In the Outline view, double-clicking opens the Properties view.</li>
<li>The editor has Honeycomb style animation preview support.</li>
<li>Improved rendering support for various Views (such as TabHosts and SlidingDrawers) in
Honeycomb (Issues <a href="http://code.google.com/p/android/issues/detail?id=3162">3162</a>
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>&lt;include&gt;</code></a> tag, double-clicking on the
<a href="{@docRoot}guide/topics/resources/layout-resource.html#include-element">
<code>&lt;include&gt;</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,
you can quickly change between context layouts, by right clicking in the editor and choosing
<strong>Show included in...</strong>. This feature is only available in Honeycomb.</li>
</ul>
</li>
<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>
<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>
</ul>
</li>
</ul>
</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" />
ADT 8.0.1</a> <em>(December 2010)</em>
<div class="toggleme">
@@ -121,7 +230,7 @@ so.</p></dd>
<p>Also see the recent release notes for 8.0.0, below.</p>
</dd>
</dl>
</div>
</div>
</div>

View File

@@ -59,11 +59,64 @@ padding: .25em 1em;
}
</style>
<div class="toggleable open">
<a href="#"
onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-opened.png"
class="toggle-img"
height="9px"
width="9px" /> Android NDK, Revision 5b</a> <em>(January 2011)</em>
<div class="toggleme">
<p>This release of the NDK does not include any new features compared to r5. The r5b release addresses the
following problems in the r5 release:
</p>
<ul>
<li>The r5 binaries required glibc 2.11, but the r5b binaries are generated with a special
toolchain that targets glibc 2.7 or higher instead. The Linux toolchain binaries now run on Ubuntu 8.04 or higher. </li>
<li>Fixes a compiler bug in the arm-linux-androideabi-4.4.3 toolchain.
The previous binary generated invalid thumb instruction sequences when
dealing with signed chars.</li>
<li>Adds missing documentation for the
"gnustl_static" value for APP_STL, that allows you to link against
a static library version of GNU libstdc++. </li>
<li>The following <code>ndk-build</code> issues are fixed:
<ul>
<li>A bug that created inconsistent dependency files when a
compilation error occured on Windows. This prevented a proper build after
the error was fixed in the source code.</li>
<li>A Cygwin-specific bug where using very short paths for
the Android NDK installation or the project path led to the
generation of invalid dependency files. This made incremental builds
impossible.</li>
<li>A typo that prevented the cpufeatures library from working correctly
with the new NDK toolchain.</li>
<li>Builds in Cygwin are faster by avoiding calls to <code>cygpath -m</code>
from GNU Make for every source or object file, which caused problems
with very large source trees. In case this doesn't work properly, define <code>NDK_USE_CYGPATH=1</code> in your
environment to use <code>cygpath -m</code> again.</li>
<li>The Cygwin installation now notifies the user of invalid installation paths that contain spaces. Previously, an invalid path
would output an error that complained about an incorrect version of GNU Make, even if the right one was installed.
</ul>
</li>
<li>Fixed a typo that prevented the <code>NDK_MODULE_PATH</code> environment variable from working properly when
it contained multiple directories separated with a colon. </li>
<li>The <code>prebuilt-common.sh</code> script contains fixes to check the compiler for 64-bit
generated machine code, instead of relying on the host tag, which
allows the 32-bit toolchain to rebuild properly on Snow Leopard. The toolchain rebuild scripts now also support
using a 32-bit host toolchain.</li>
<li>A missing declaration for <code>INET_ADDRSTRLEN</code> was added to <code>&lt;netinet/in.h&gt;</code>.</li>
<li>Missing declarations for <code>IN6_IS_ADDR_MC_NODELOCAL</code> and <code>IN6_IS_ADDR_MC_GLOBAL</code> were added to <code>&lt;netinet/in6.h&gt;</code>.</li>
<li>'asm' was replaced with '__asm__' in <code>&lt;asm/byteorder.h&gt;</code> to allow compilation with <code>-std=c99</code>.</li>
</ul>
</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" /> Android NDK, Revision 5</a> <em>(December 2010)</em>
<div class="toggleme">
@@ -73,7 +126,7 @@ padding: .25em 1em;
graphics and window management, assets, and storage. Developers can also implement the
Android application lifecycle in native code with help from the new
{@link android.app.NativeActivity} class. For detailed information describing the changes in this
release, read the CHANGES.HTML document included in the downloaded NDK package.
release, read the <code>CHANGES.HTML</code> document included in the downloaded NDK package.
</p>
<dl>
<dt>General notes:</dt>

View File

@@ -15,6 +15,7 @@ about how to update, see <a
href="{@docRoot}sdk/adding-components.html#UpdatingComponents">Updating SDK
Components</a>. </p>
<h2 id="notes">Revisions</h2>
<p>The sections below provide notes about successive releases of
@@ -64,6 +65,58 @@ padding: .25em 1em;
<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" />
SDK Tools, Revision 9</a> <em>(January 2011)</em>
<div class="toggleme">
<dl>
<dt>Dependencies:</dt>
<dd>
<p>If you are developing in Eclipse with ADT, note that the SDK Tools r9 is
designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we
highly recommend updating your ADT Plugin to 9.0.0.</p>
<p>If you are developing outside Eclipse, you must have <a href="http://ant.apache.org/">Apache
Ant</a> 1.8 or later.</p>
<dt>Upgrading to SDK Tools r9:</dt>
<dd>
<p>If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location
for the <code>adb</code> tool has changed from <code>&lt;<em>SDK</em>&gt;/tools/adb</code> to
<code>&lt;<em>SDK</em>&gt;/platform-tools/adb</code>. This means that you should
add the new location to your PATH and modify any custom build scripts to
reference the new location. Copying the <code>adb</code> executable from the new
location to the old is not recommended, since subsequent updates to the SDK
Tools will delete the file.</p>
</dd>
<dt>General notes:</dt>
<dd>
<ul>
<li>The default ProGuard configuration, <code>proguard.cfg</code>, now ignores the following classes:
<ul>
<li>classes that extend {@link android.preference.Preference}</li>
<li>classes that extend {@link android.app.backup.BackupAgentHelper}</li>
</ul>
</li>
<li>Ant lib rules now allow you to override <code>java.encoding</code>, <code>java.source</code>,
and <code>java.target</code> properties.</li>
<li>The default encoding for the <code>javac</code> Ant task is now UTF-8.</li>
<li>The LogCat view in DDMS now properly displays UTF-8 characters.</li>
<li>The SDK Manager is more reliable on Windows. For details on the improvements, see the
<a href="http://tools.android.com/recent/sdkmanagerfixes">Android Tools Project Site</a>. </li>
<li>If you enabled snapshots for an AVD, they are automatically captured. The emulator also now restores to the state when
it last closed almost instantly.</li>
<li>Fixed the missing JAR file error that prevented <code>draw9patch</code> from running.</li>
<li>Fixed the Windows launch scripts <code>hierarchyviewer</code> and <code>ddms</code> to support
the new location of <code>adb</code>.</li>
</ul>
</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 8</a> <em>(December 2010)</em>
<div class="toggleme">