From dad557e0cf9921a0ac4d9959df0223a3acebfa4e Mon Sep 17 00:00:00 2001 From: Joe Fernandez Date: Fri, 16 Mar 2012 01:17:58 -0700 Subject: [PATCH] docs: Android SDK r17 (RC6) Release Notes Change-Id: I1e58b3827e4fe70310d2154e0f85b16b79d6a0d2 --- docs/html/sdk/android-4.0.3.jd | 22 ++--- docs/html/sdk/compatibility-library.jd | 31 ++++++- docs/html/sdk/eclipse-adt.jd | 112 +++++++++++++++++++++++-- docs/html/sdk/index.jd | 24 +++--- docs/html/sdk/requirements.jd | 10 +-- docs/html/sdk/sdk_toc.cs | 9 +- docs/html/sdk/tools-notes.jd | 107 ++++++++++++++++++++++- 7 files changed, 273 insertions(+), 42 deletions(-) diff --git a/docs/html/sdk/android-4.0.3.jd b/docs/html/sdk/android-4.0.3.jd index 809c83c6e61de..c8563ac2d69a7 100644 --- a/docs/html/sdk/android-4.0.3.jd +++ b/docs/html/sdk/android-4.0.3.jd @@ -68,15 +68,16 @@ the Android 4.0.x system components will not be available for download.

- Android {@sdkPlatformVersion}, Revision 2 (January 2012) + Revision 2 (January 2012)

-
-
Maintenance release. SDK Tools r14 or higher is required. -
-
+

Maintenance update. The system version is 4.0.3.

+
+
Dependencies:
+
SDK Tools r14 or higher is required.
+
@@ -86,15 +87,16 @@ class="toggle-content-img" alt="" />

- Android {@sdkPlatformVersion}, Revision 1 (December 2011) + Revision 1 (December 2011)

-
-
Initial release. SDK Tools r14 or higher is required. -
-
+

Initial release. The system version is 4.0.3.

+
+
Dependencies:
+
SDK Tools r14 or higher is required.
+
diff --git a/docs/html/sdk/compatibility-library.jd b/docs/html/sdk/compatibility-library.jd index df715520daa86..30d807ff93009 100644 --- a/docs/html/sdk/compatibility-library.jd +++ b/docs/html/sdk/compatibility-library.jd @@ -46,11 +46,40 @@ by the directory name, such as {@code v4/} and {@code v13/}.

The sections below provide notes about successive releases of the Support Package, as denoted by revision number.

-

+ Support Package, revision 7 (March 2012) +

+ +
+
+
Changes for v4 support library:
+
+
    +
  • Added {@link android.support.v4.app.ShareCompat}, which provides helper classes +for sending and receiving content for social sharing applications, including new metadata for +attributing shared data to the source app. This class also provides compatible integration with the +new {@link android.widget.ShareActionProvider} in Android 4.0.
  • +
  • Added {@link android.support.v4.app.NavUtils} and {@link +android.support.v4.app.TaskStackBuilder} to provide support for implementing the +Android Design guidelines for navigation. These +additions include a way to implement the action bar's Up button across versions. +For an example implementation of this pattern, see the AppNavigation sample in +({@code <sdk>/samples/<platform>/AppNavigation}).
  • +
  • Added {@link android.support.v4.app.NotificationCompat.Builder} to provide a +compatibility implementation of Android 3.0's {@link android.app.Notification.Builder} helper class +for creating standardized system notifications.
  • +
+
+
+
+ +
+ +

+ Support Package, revision 6 (December 2011)

diff --git a/docs/html/sdk/eclipse-adt.jd b/docs/html/sdk/eclipse-adt.jd index 30825eec060c6..c8bf12df17041 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=16.0.1 -adt.zip.download=ADT-16.0.1.zip -adt.zip.bytes=7000078 -adt.zip.checksum=03a2a23650ddac128c8b9e8aaf0aa433 +adt.zip.version=17.0.0 +adt.zip.download=ADT-17.0.0.zip +adt.zip.bytes=12836115 +adt.zip.checksum=ecb12c07e534997cd32c66d57f21b770 @jd:body @@ -108,11 +108,109 @@ padding: .25em 1em; } -
+ADT 17.0.0 (March 2012) +
+
+
Dependencies:
+ +
+
    +
  • Java 1.6 or higher is required for ADT 17.0.0.
  • +
  • Eclipse Helios (Version 3.6.2) or higher is required for ADT 17.0.0.
  • +
  • ADT 17.0.0 is designed for use with SDK Tools + r17. If you haven't already installed SDK Tools r17 into your SDK, use the Android SDK + Manager to do so.
  • +
+
+ +
General improvements:
+
+
    +
  • New build features +
      +
    • Added feature to automatically setup JAR dependencies. Any {@code .jar} files in the + {@code /libs} folder are added to the build configuration (similar to how the Ant build + system works). Also, {@code .jar} files needed by library projects are also automatically + added to projects that depend on those library projects.
    • +
    • Added a feature that allows you to run some code only in debug mode. Builds now +generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is +automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG}) +constant in your code to run debug-only functions.
    • +
    • Added support for custom views with custom attributes in libraries. Layouts using +custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead +of the URI that includes the app package name. This URI is replaced with the app specific one at +build time.
    • +
    +
  • +
  • Improved Lint features. See the SDK Tools r17 +release notes.
  • +
  • Improved the Lint user interface +
      +
    • Added Run Lint toolbar action with a dropdown menu for selecting +specific (or all) projects, clearing results and other actions.
    • +
    • Updated the results window to be organized as a tree rather than a flat list. Each +issue type has a single top level item, which makes it easier to quickly scan through the reported +issues and narrow down to the issues you are most interested in.
    • +
    • Added many new toolbar actions to the results window, including expand/collapse, +ignore in file, ignore in project, ignore everywhere, show options, and configure columns.
    • +
    • Added new column options for the Lint Warnings tab, such as +category, priority, project, file and line. The column selection (as well as the column sizes) are +persisted. You can also click on columns to sort by those values.
    • +
    • Added Enable All and Disable All buttons to the Lint Options dialog, and a search +filter textbox to filter by issue id, summary and severity.
    • +
    +
  • +
  • Added Quick Outline for XML editors (Ctrl-O, Command-O). This feature shows the structure +of the current file including icons and ids, lets you filter and quickly jump to specific ids.
  • +
  • Updated the resource chooser to shows the resolved value for resources. For example, +when selecting {@code @string/hello} the chooser displays a resolved value such as "Hello World"). +The resource chooser also now allows you to edit the chosen value directly.
  • +
  • Updated Layout Editor so that it does not assign default ids to layouts, includes and +merge tags. This behavior tended to pollute the namespace with a lot of unused resources since +layouts are not usually manipulated via code, or referenced from XML. (The RelativeLayout editor +automatically assigns ids to views without ids when pointing to them.)
  • +
  • Added ability to export screenshots from the Layout Editor
  • +
+
+ +
Bug fixes:
+
+
    +
  • Fixed problem using Layout Editor with {@link android.widget.SlidingDrawer} which could + not be dragged into the layout on some platforms.
  • +
  • Fixed preview rendering for {@link android.widget.SlidingDrawer} and + {@link android.widget.TabHost}. + (Issue 23022).
  • +
  • Fixed issues that could prevent layout rendering due to unresolvable resources. + (Issue 21046, + Issue 21051)
  • +
  • Fixed a bug in resource chooser which made some types of framework resources impossible to +select. (Issue 20589)
  • +
  • Fixed a bug in the formatter where a certain whitespace pattern could result in a + non-space character getting deleted. + (Issue 23940)
  • +
  • Fixed a locale bug affecting Turkish locales in particular. + (Issue 23747)
  • +
  • Fixed issue where dex complains about duplicate classes in cases where a Library + Project depends on the same jar files or Java-only projects.
  • +
  • Fixed issue where test projects had to independently reference the library projects used + by an app project. Now referencing only the app project is enough.
  • +
+
+ +
+ +
+
+ +
+ + ADT 16.0.1 (December 2011)
@@ -182,11 +280,11 @@ ADT 15.0.1 (November 2011)
Dependencies:
- +
ADT 15.0.1 is designed for use with SDK Tools r15. If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK Manager to do so.
- +
Bug fixes:
    diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd index 5cf05e0ec1bc1..c09b3c23ef3e0 100644 --- a/docs/html/sdk/index.jd +++ b/docs/html/sdk/index.jd @@ -2,21 +2,21 @@ page.title=Android SDK page.metaDescription=Download the official Android SDK to develop apps for Android-powered devices. sdk.redirect=0 -sdk.win_installer=installer_r16-windows.exe -sdk.win_installer_bytes=29561554 -sdk.win_installer_checksum=3521dda4904886b05980590f83cf3469 +sdk.win_installer=installer_r17-windows.exe +sdk.win_installer_bytes=37410775 +sdk.win_installer_checksum=5afaf6511ebaa52bd6d1dba4afc61e41 -sdk.win_download=android-sdk_r16-windows.zip -sdk.win_bytes=29562413 -sdk.win_checksum=6b926d0c0a871f1a946e65259984701a +sdk.win_download=android-sdk_r17-windows.zip +sdk.win_bytes=37417953 +sdk.win_checksum=3af1baeb39707e54df068e939aea5a79 -sdk.mac_download=android-sdk_r16-macosx.zip -sdk.mac_bytes=26158334 -sdk.mac_checksum=d1dc2b6f13eed5e3ce5cf26c4e4c47aa +sdk.mac_download=android-sdk_r17-macosx.zip +sdk.mac_bytes=33867836 +sdk.mac_checksum=52639aae036b7c2e47cf291696b23236 -sdk.linux_download=android-sdk_r16-linux.tgz -sdk.linux_bytes=22048174 -sdk.linux_checksum=3ba457f731d51da3741c29c8830a4583 +sdk.linux_download=android-sdk_r17-linux.tgz +sdk.linux_bytes=29706368 +sdk.linux_checksum=14e99dfa8eb1a8fadd2f3557322245c4 @jd:body diff --git a/docs/html/sdk/requirements.jd b/docs/html/sdk/requirements.jd index c970f6c9c0be8..c76e8c8b82a39 100644 --- a/docs/html/sdk/requirements.jd +++ b/docs/html/sdk/requirements.jd @@ -24,7 +24,7 @@ Android applications using the Android SDK.

    Eclipse IDE

      -
    • Eclipse 3.6 (Helios) or greater +
    • Eclipse 3.6.2 (Helios) or greater

      Note: Eclipse 3.5 (Galileo) is no longer supported with the latest version of ADT.

    • Eclipse JDT plugin (included @@ -41,8 +41,8 @@ packages:

    • Eclipse IDE for Java EE Developers
    -
  • JDK 5 or JDK -6 (JRE alone is not sufficient)
  • +
  • JDK 6 + (JRE alone is not sufficient)
  • Android Development Tools plugin (recommended)
  • Not compatible with Gnu Compiler for Java (gcj)
  • @@ -51,8 +51,8 @@ packages:

    Other development environments or IDEs

      -
    • JDK 5 or JDK -6 (JRE alone is not sufficient)
    • +
    • JDK 6 + (JRE alone is not sufficient)
    • Apache Ant 1.8 or later
    • Not compatible with Gnu Compiler for Java (gcj)
    diff --git a/docs/html/sdk/sdk_toc.cs b/docs/html/sdk/sdk_toc.cs index f7541f7167e55..5a5517c5ea1dd 100644 --- a/docs/html/sdk/sdk_toc.cs +++ b/docs/html/sdk/sdk_toc.cs @@ -81,7 +81,8 @@ class="new">new! @@ -152,10 +153,10 @@ class="new">new!
@@ -171,7 +172,7 @@ class="new">new!
    -
  • ADT 16.0.1 +
  • ADT 17.0.0 diff --git a/docs/html/sdk/tools-notes.jd b/docs/html/sdk/tools-notes.jd index 91bcb7d2c33e7..bbbca81cd719b 100644 --- a/docs/html/sdk/tools-notes.jd +++ b/docs/html/sdk/tools-notes.jd @@ -64,11 +64,112 @@ padding: .25em 1em; } -
    + SDK Tools, Revision 17 (March 2012) + +
    +

    Important: To download the new Android + 4.0 system components from the Android SDK Manager, you must first update the + SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, + the Android 4.0 system components will not be available for download.

    + +
    +
    Dependencies:
    +
    +
      +
    • Android SDK Platform-tools revision 9 or later.
    • +
    • If you are developing in Eclipse with ADT, note that the SDK Tools r17 is designed for + use with ADT 17.0.0 and later. If you haven't already, we highly recommend updating your + ADT Plugin to 17.0.0.
    • +
    • If you are developing outside Eclipse, you must have + Apache Ant 1.8 or later.
    • +
    +
    +
    General notes:
    +
    +
      +
    • Emulator +
        +
      • Added support for hardware accelerated graphics rendering. This feature requires an +API Level 15, Revision 3 or later system image. +(more info) +

        Note: As of the SDK Tools Revision 17 release, the +API Level 15, Revision 3 system image is not yet available.

        +
      • +
      • Added support for running Android x86 system images in virtualization mode on +Windows and Mac OS X. +(more info)
      • +
      • Added experimental support for multi-touch input by enabing the emulator to receive + touch input from a USB-tethered physical Android device. + (more info)
      • +
      +
    • +
    • Added viewing of live detailed network usage of an app in DDMS. (more info)
    • +
    • ProGuard +
        +
      • Updated the bundled ProGuard tool to version 4.7. In addition to many new features, +this update fixes the {@code Conversion to Dalvik format failed with error 1} error some users have +experienced.
      • +
      • Updated the default {@code proguard.cfg} file with better default flags for + Android.
      • +
      • Split the ProGuard configuration file has been in half, with project specific flags +kept in project and the generic Android flags distributed (and updated) with the tools +themselves.
      • +
      +
    • +
    • Build +
        +
      • Added a feature that allows you to run some code only in debug mode. Builds now +generate a class called {@code BuildConfig} containing a {@code DEBUG} constant that is +automatically set according to your build type. You can check the ({@code BuildConfig.DEBUG}) +constant in your code to run debug-only functions.
      • +
      • Fixed issue when a project and its libraries include the same jar file in their libs + folder.
      • +
      • Added support for custom views with custom attributes in libraries. Layouts using +custom attributes must use the namespace URI {@code http://schemas.android.com/apk/res-auto} instead +of the URI that includes the app package name. This URI is replaced with the app specific one at +build time.
      • +
      +
    • +
    • Lint +
        +
      • Updated Lint to check Android application code. Lint rules which previously +performed pattern based searches in the application code (such as the unused resource check) have +been rewritten to use the more accurate Java-style parse trees.
      • +
      • Added support for checking library projects. This change means that rules such as +the unused resource check properly handle resources declared in a library project and referenced in +a downstream project.
      • +
      • Added ability to suppress Lint warnings in Java code with the new +{@code @SuppressLint} annotation, and in XML files with the new tools: namespace and +ignore attribute. (more info)
      • +
      • New Lint checks: +
          +
        • Added check for Android API calls that require a version of Android higher than + the minimum supported version. You can use the new {@code @TargetApi} annotation + to suppress warnings when the code is wrapped in a system version condition. + (more info)
        • +
        • Added over 20 new Lint rules, including checks for + performance, + XML layouts, manifest and file handling.
        • +
        +
      • +
      +
    • +
    +
    +
    +
    +
    + +
    + + SDK Tools, Revision 16 (December 2011)
    @@ -92,10 +193,10 @@ padding: .25em 1em;
    General notes:
      -
    • Added Lint tools to detect common errors in Android projects. +
    • Added Lint tools to detect common errors in Android projects. (more info)
    • Added sensor emulation support, which allows the emulator to read sensor data from a - physical Android device. + physical Android device. (more info)
    • Added support for using a webcam to emulate a camera on Mac OS X.