From 6c81c3077205659dafe980941beaf65fad849245 Mon Sep 17 00:00:00 2001 From: Robert Ly Date: Wed, 5 Oct 2011 12:59:29 -0700 Subject: [PATCH] docs: tools and adt notes Change-Id: I432148d53127443662e180942b95f21c6f199476 --- docs/html/sdk/eclipse-adt.jd | 158 ++++++++++++++++++++++++++++++----- docs/html/sdk/index.jd | 26 +++--- docs/html/sdk/sdk_toc.cs | 21 ++--- 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 bbf7cbe8cc78d..333efa27724c9 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
  • Updating the ADT Plugin
  • - +

    See also

    1. Android Developer Tools
    2. @@ -110,6 +110,124 @@ padding: .25em 1em; +ADT 14.0.0 (October 2011) +
      +
      + +
      Dependencies:
      + +
      ADT 14.0.0 is designed for use with SDK Tools r14. +If you haven't already installed SDK Tools r14 into your SDK, use the Android SDK and AVD Manager to +do so.
      + +
      Build system
      +
      +
        +
      • Changed default.properties to project.properties and + build.properties to ant.properties. ADT automatically + renames these files, if necessary, when you open a project in Eclipse.
      • +
      • Changed how library projects are built in Eclipse.
      • +
      • Changed output of javac from bin/ to bin/classes + in Eclipse.
      • +
      • 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 id) and no longer + run once for each library project.
      • +
      • Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of + crunching all existing PNG files, all the time.
      • +
      • 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.)
      • +
      +

      For a complete overview of the build system changes and what you need to do to support them, +see the Android Tools Project +site.

      +
      + +
      General improvements
      +
      +
        + + +
      • Added a Welcome Wizard to help with the initial setup of the Android +development environment (more +info).
      • +
      • Integrated the Android Asset Studio, which helps you create icons for things +like the launcher, menus, and tabs. (more +info).
      • +
      • Revamped the Logcat view and added support to display and filter logs by + application names as well as PIDs (more info).
      • +
      • Revamped the SDK Manager UI (more +info).
      • +
      • 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 +(more info).
      • +
      • Removed the dependency on Eclipse GEF.
      • +
      +
      + +
      XML and Java editors
      +
      +
        +
      • 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. +(more info).
      • +
      • Added the "Go to Matching" (Ctrl-Shift-P) feature, which lets you jump +between opening and closing tags in XML files.
      • +
      • Added support for the "Select Enclosing Element" feature on Mac.
      • +
      • Added a Quickfix for extracting Strings when the caret is inside a String (see +more).
      • +
      • Improved "smart indent", which allows automatic indentation and un-indentation + when pressing the Return key in XML editors (more info).
      • + +
      +
      + +
      Layout editor
      +
      +
        +
      • 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 (more +info).
      • +
      • Added the ability to suppress rendering fidelity warnings (more info).
      • +
      • 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 (more info).
      • +
      • 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.
      • +
      • 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 (more info).
      • +
      +
      + +
      Bug fixes
      +
      Fixed many bugs and added minor improvements, in +particular some critical bug fixes on +Linux.
      + +
      + + + + +
      + + ADT 12.0.0 (July 2011)
      @@ -141,7 +259,7 @@ the Android SDK and AVD Manager to do so.
      Build system
        -
      • A new option lets you disable the packaging step in the automatic +
      • 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 (more info).
      • 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 (more info).
      • +classes (more info).
      • 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.
      • XML editors:
        -
          +
          • 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).
          • DDMS:
            -
              +
              • "New Folder" action in the File Explorer.
              • The screenshot dialog will add timestamps to the filenames and preserve the orientation on snapshot refresh.
              • @@ -367,7 +485,7 @@ so.
            (details).
          • Improved rendering error diagnostics.
          - +
      @@ -391,14 +509,14 @@ so.
      General notes:
      -
        +
        • "Go To Declaration" hyperlink support: You can jump directly from code references (such as R.id.main) to the corresponding XML declaration, or from XML attributes (such as @string) to the corresponding resource definition, or from manifest XML registrations to activities and services.
        • Improvements were made to name refactoring.
        • 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.
        • + creating an AVD or by editing an AVD with the AVD Manager.
        • Improvements to the Visual Layout Editor:
          • Support for rendering targets: You can now choose an arbitrary Android platform to @@ -436,10 +554,10 @@ so.
      into an {@link android.widget.AdapterView}.
    3. Outline reordering: Reordering your views in the Outline tab is much easier (Details).
    4. -
    5. Fix for keybinding bug where keyboard shortcuts did not work (Issues - 13231 and +
    6. Fix for keybinding bug where keyboard shortcuts did not work (Issues + 13231 and 13134).
    7. -
    8. Fix for problems with Custom layout attribute menu (Issue +
    9. Fix for problems with Custom layout attribute menu (Issue 13134).
    10. 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. and 13092).
    11. Included layouts can be rendered and edited in the context of the layouts that include them. From a layout using an - <include> tag, double-clicking on the + <include> tag, double-clicking on the <include> 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.
    12. This release fixes many other bugs, but the most important ones are listed below:
      • Fixed issue that prevented launching debug builds on productions devices when - debuggable=true was not set in the Android manifest.
      • + debuggable=true was not set in the Android manifest.
      • The LogCat view in DDMS properly handles UTF-8 characters.
      • The SDK Manager is more reliable on Windows (Details).
      • -
      • A JUnit initialization bug that prevented you from working with JUnit tests was fixed - (Issue 12411).
      • +
      • A JUnit initialization bug that prevented you from working with JUnit tests was fixed + (Issue 12411).
    13. @@ -828,7 +946,7 @@ a list of Eclipse versions that are compatible with the Android SDK.

        -
      • SDK Tools, r13 SDK Tools, r14 new!
      • Google USB Driver, r4
      • Compatibility Package, @@ -161,14 +161,15 @@ r3
      • diff --git a/docs/html/sdk/tools-notes.jd b/docs/html/sdk/tools-notes.jd index 2179cec6036d3..2d044ed89918f 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

        SDK Tools is a downloadable component for the Android SDK. It includes the -complete set of development and debugging tools for the Android SDK.

        +complete set of development and debugging tools for the Android SDK.

        If you are new to the Android SDK, the SDK starter package installs the @@ -13,7 +13,7 @@ of the SDK Tools, use the Android SDK and AVD Manager to get the update, rather than downloading a new SDK starter package. For more information about how to update, see Updating SDK -Components.

        +Components.

        Revisions

        @@ -62,10 +62,56 @@ padding: .25em 1em; } -
        - + SDK Tools, Revision 14 (October 2011) +
        +
        +
        Dependencies:
        +
        +
        • Android SDK Platform-tools revision 8 or later.
        • +
        • 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 ADT Plugin to 14.0.0.
        • +
        • If you are developing outside Eclipse, you must have Apache + Ant 1.8 or later.
        • +
        + +
        General notes:
        +
        +
          +
        • Changed default.properties to project.properties and + build.properties to ant.properties. Any existing + projects that you build with Ant must be updated with the android update project + command.
        • +
        • Changed Ant build.xml 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 +Ant Command +Reference.
        • + +
        • Changed how library projects are built.
        • +
        • 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 id) and no longer + run once for each library project.
        • +
        • Introduced a "PNG crunch cache" that only runs on modified PNG files, instead of + crunching all existing PNG files, all the time.
        • +
        • Revamped the SDK Manager UI (more +info).
        • +
        +

        For a complete overview of the build system changes and what you need to do to support them, +see the Android Tools Project +site.

        +
        +
        +
        +
        + +
        + + SDK Tools, Revision 13 (September 2011)