Android ADT 20.0.0 發布

來源:互聯網
上載者:User

 ADT
20.0.0 (June
2012)

Dependencies:
  • Java 1.6 or higher is required for ADT 20.0.0.
  • Eclipse Helios (Version 3.6.2) or higher is required for ADT 20.0.0.
  • ADT 20.0.0 is designed for use with SDK Tools r20. If you haven't already installed SDK Tools r20 into your SDK, use the Android SDK
    Manager to do so.
General improvements:
  • Application Templates

    • Added Android application templates to allow developers to create specific types of applications faster, using Android-recommended best practices.
  • Performance
    • Improved overall ADT performance and fixed memory issues. Loading SDK data should be up to 30% faster.
  • Tracer for GLES
    • Added new perspective view and tools for tracing OpenGL calls for an application and track the visual results of each call. (more info)
  • Lint
    • Added new Lint rules for manifest registrations, duplicate activity registrations, security checking, correct use of Toast, missing SharedPreferences commit() calls, Fragment class instantiation, and handler leaks.
    • Created tighter integration of lint with the layout editor. (more info)
    • Added execution of Lint tool on save option for Java files. (more info)
  • Layout Editor (more info)
    • Added highlighting (in bold) for important attributes, inline preview of colors and images, including the corresponding resource name.
    • Added display of default values, when available.
    • Added completion of resource values and enum and flag constants.
    • Added support for displaying advanced properties, and nested properties for better categorization, for example, layout params are listed first as a single nested property.
    • Display Tooltips over the attribute names, not values, so they never obscure the value column.
    • Provided checkbox support for boolean values.
    • Added support for switching between alphabetical and natural sort orders.
    • Improved layout editor tool's window management for more usable editing views.
    • Improved the layout editor's configuration chooser header user interface.
  • XML Editing
    • Added go to declaration support for theme references (?android:attr, ?attr:).
    • Improved code completion in style definitions.
    • Improved code completion for the minSdkVersion and targetSdkVersion attributes
      in manifest files so that version descriptions are displayed for each of the API levels
    • Provided support for code completion of custom attributes for custom views, including current edits to the style files.
    • Improved synchronization of text and graphic editors with the XML outline view, including outline changes and display of current selection.
  • Build System
    • Added automatic merging of library project manifest files into the including project's manifest. Enable this feature with the manifestmerger.enabled property.
    • Added automatic ProGuard support for the aapt -G flag. This change causes the build system to generate a temporary
      ProGuard keep-rules file containing classes that are referenced from XML files (such as custom views) and pass this to ProGuard at shrink-time. This can make the resulting APK much smaller when using just a small portion of a large library project (such as
      the Android Support library), since the catch-all rules to keep all custom views from the default ProGuard configuration file have also been removed.
  • Added support building and debugging NDK-based Android projects.
  • Added support to the Asset Studio Wizard for padding and turning off background shapes.
  • Improved LogCat to allow developers to set colors for different priorities.
  • Improved app Run functionality to allow running on multiple devices with a single launch. The target tab in the launch configuration dialog includes an option to allow launching on all connected devices, with the option to further
    narrow the list to just physical devices or just emulators. (This feature is available only for Run configurations, and not for Debug or JUnit tests.)

    Bug fixes:
    • Fixed a number of issues where Lint incorrectly reported code errors or failed to flag code issues.
    • Fixed several bugs in the layout editor.
    • Fixed compatibility issues with Eclipse 4.x (Juno), including cut/copy/paste functions.
    相關文章

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.