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 20.0.0 and later. If you haven't already, we highly recommend updating your ADT
Plugin to 20.0.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 from the Settings > Developer Options > Monitoring: Enable
traces or with specific calls added 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 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 two ProGuard configuration files for use in projects:
proguard-android-optimize.txt
which enables optimizations
and proguard-android.txt
which disables them.
- SDK Manager
- Improved caching to reduce downloading of repository definitions.
- Added Tools > Manage Add-on Sites option 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.