Android debug tools R17 preview

Started by Stefan, February 24, 2012, 10:32:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stefan

QuoteADT 17 Preview
February 23, 2012:
We have just released a preview build of ADT 17 and of the SDK Tools, r17. Follow the installation instructions below.
New Features

    DDMS can now show the live detailed network usage of an app

    ProGuard
        Bundled ProGuard updated to version 4.7. In addition to many new features, this will fix the "Conversion to Dalvik format failed with error 1" error some users have experienced.
        The default proguard.cfg file has been updated with better default flags for Android.
        The ProGuard configuration file has been split in half, with project specific flags kept in project and the generic Android flags distributed (and updated) with the tools themselves.
    Lint
        Lint now checks Java code, and checks which previously performed pattern based searches in the Java code (such as the unused resource check) have been rewritten to use the more accurate Java parse trees.
        Lint supports library projects, so for example the unused resource check will properly handle resources declared in a library project and referenced in a downstream project.
        Lint warnings can be suppressed in Java code with the new @SuppressLint annotation, and in XML files with the new tools: namespace and ignore-attribute. (More Info)
        New lint checks:
            Find Android API calls that require a version of Android higher than the minimum supported version. You can use the new @TargetApi annotation to specify local overrides for conditionally loaded code. (More Info)
            Performance rules
            About 30 other new rules
        Revamped Eclipse Lint UI.
            New "Run Lint" toolbar action with a dropdown menu for selecting specific (or all) projects, clearing results, etc.
            The results window is now 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 issues you are most interested in.
            The results window contains many new toolbar actions, including expand/collapse, ignore in file, ignore in project, ignore everywhere, show options, and configure columns.
            There are new columns available, such as category, priority, project, file and line. The column selection (as well as the column sizes) are persisted. You can click on columns to sort by that column.
            The Lint Options dialog has Enable All and Disable All buttons, and a search filter textbox to filter by issue id, summary and severity.
    New Quick Outline for XML editors (Ctrl-O, Command-O). This shows the structure of the current file including icons and ids, and lets you filter and quickly jump to specific ids.
    The resource chooser now shows the resolved value for resources (e.g. when selecting @string/hello it displays that the resolved value is "Hello World"). It also allows editing the chosen value directly.
    The layout editor no longer assigns default ids to layouts, includes and merge tags. This tended to pollute the namespace with a lot of unused resources since layouts aren't usually manipulated via code, or referenced from XML. (The RelativeLayout editor automatically assigns ids to views without ids when pointing to them.)
    Export Screenshot from the Layout Editor
    Layout editor fix for SlidingDrawer which on some platforms could not be dragged into the layout. Also fix preview rendering for SlidingDrawer and TabHost (issue 23022).
    New default application icons, including an xhdpi version.
    Important bug fixes:
        Fixed issues that could prevent layout rendering due to unresolvable resources (issues 21046 and 21051)
        Fix bug in resource chooser which made some types of framework resources impossible to select (issue 20589)
        Fix a bug in the formatter where a certain whitespace pattern could result in a non-space character getting deleted (issue 23940)
        Fix locale bug affecting Turkish locales in particular (issue 23747)


This 17th revision introduces a stupid bug: java.exe is not found in it's own program folder albeit path is set.
So put a copy in system32 or tools folder.


For some reason network tracking fails in emulator (i have no actual hardware with ICS atm to test).