SDK
Tools, revision 20 (June
2012)
-
Dependencies:
-
- Android SDK platform-tools Revision 12 or later.
- If you are developing in eclipse with ADT, note that the SDK tools R20 is designed for use with ADT 255.0.0 and later. If you haven't already, we highly recommend updating your ADT
Plugin to ipv0.0.
- If you are developing outside eclipse, you must have Apache ant 1.8 or later.
-
General notes:
-
- Added new device monitor application, grouping Android debugging tools into a single application, including ddms, traceview, hierarchyviewer and tracer for gles. (More
Info)
- Added new system trace new tool for tracing Android system activity. This tool allow you to capture a slice of system activity, plus additional information tagged fromSettings> developer Options> Monitoring: Enable
TracesOr with specific calladded to your application code. (More Info)
- Build System
- Added Automatic merging of library project manifest files into the including project's manifest. Enable this feature with
manifestmerger.enabled
Property.
- Added Automatic proguard support for
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
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 two proguard configuration files for use in projects:
proguard-android-optimize.txt
Which enables Optimizations
Andproguard-android.txt
Which disables them.
- SDK Manager
- Improved caching to reduce downloading of repository definitions.
- AddedTools> Manage Add-on sitesOption to allow deactivation of third-party sites for improved performance (e.g., if one or more sites are temporarily slow to load .)
- Added settings for the SDK manager download cache (SDK Manager> Tools> options).
-
Bug fixes:
-
- Build
- Fixed problem where test projects did not have access to the full classpath of tested projects, including library projects and third-party jars.
- Fixed deployment logic so that applications with embedded tests can now be deployed and tested like test applications, including code coverage information.
- Fixed ant support for testing projects with libraries.