SDK Tools, r6
If you are developing in Eclipse with ADT, note that SDK Tools r6 is designed for use with ADT 0.9.7 and later. After installing SDK Tools r6, we highly recommend updating your ADT Plugin to 0.9.7.
The SDK Tools now support the use of library projects during development, a capability that lets you store shared Android application code and resources in a separate development project. You can then reference the library project from other Android projects and, at build time, the tools compile the shared code and resources as part of the dependent applications. More information about this feature is available in the Developing in Other IDEs document.
If you are developing in Eclipse, ADT 0.9.7 provides the equivalent library project support.
ADT Plugin for Eclipse 0.9.7
The ADT Plugin now supports the use of library projects during development, a capability that lets you store shared Android application code and resources in a separate development project. You can then reference the library project from other Android projects and, at build time, the tools compile the shared code and resources as part of the dependent applications. More information about this feature is available in the Developing in Eclipse with ADT document.
If you are not developing in Eclipse, SDK Tools r6 provides the equivalent library project support through the Ant build system.
Android NDK, r4
- Provides a simplified build system through the new
ndk-buildbuild command. - Adds support for easy native debugging of generated machine code on production devices through the new
ndk-gdbcommand. - Adds a new Android-specific ABI for ARM-based CPU architectures,
armeabi-v7a. The new ABI extends the existingarmeabiABI to include these CPU instruction set extensions:- Thumb-2 instructions
- VFP hardware FPU instructions (VFPv3-D16)
- Optional support for ARM Advanced SIMD (NEON) GCC intrinsics and VFPv3-D32. Supported by devices such as Verizon Droid by Motorola, Google Nexus One, and others.
- Adds a new
cpufeaturesstatic library (with sources) that lets your app detect the host device's CPU features at runtime. Specifically, applications can check for ARMv7-A support, as well as VFPv3-D32 and NEON support, then provide separate code paths as needed. - Adds a sample application,
hello-neon, that illustrates how to use thecpufeatureslibrary to check CPU features and then provide an optimized code path using NEON instrinsics, if supported by the CPU. - Lets you generate machine code for either or both of the instruction sets supported by the NDK. For example, you can build for both ARMv5 and ARMv7-A architectures at the same time and have everything stored to your application's final
.apk. - To ensure that your applications are available to users only if their devices are capable of running them, Android Market now filters applications based on the instruction set information included in your application — no action is needed on your part to enable the filtering. Additionally, the Android system itself also checks your application at install time and allows the installation to continue only if the application provides a library that is compiled for the device's CPU architecture.
- Adds support for Android 2.2, including a new stable API for accessing the pixel buffers of
Bitmapobjects from native code.



















