关闭

Android:ADT 17.0.0 发布

462人阅读 评论(0) 收藏 举报

Revisions

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

For a summary of all known issues in ADT, see http://tools.android.com/knownissues.

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 .jar files in the /libs folder are added to the build configuration (similar to how the Ant build system works). Also, .jar files needed by library projects are also automatically added to projects that depend on those library projects. (more info)
    • Added a feature that allows you to run some code only in debug mode. Builds now generate a class called BuildConfig containing a DEBUG constant that is automatically set according to your build type. You can check the (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 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 r17release 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 @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 SlidingDrawer which could not be dragged into the layout on some platforms.
  • Fixed preview rendering for SlidingDrawer and 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.
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:508724次
    • 积分:6464
    • 等级:
    • 排名:第3709名
    • 原创:97篇
    • 转载:288篇
    • 译文:0篇
    • 评论:5条
    文章分类