SDK Tools
If you are developing in Eclipse with ADT, note that the SDK Tools r9 is designed for use with ADT 9.0.0 and later. After installing SDK Tools r9, we highly recommend updating your ADT Plugin to 9.0.0.
If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
If you are upgrading to SDK Tools r9 from SDK Tools r7 or earlier, the default installed location for the adb tool has changed from <SDK>/tools/adb to<SDK>/platform-tools/adb. This means that you should add the new location to your PATH and modify any custom build scripts to reference the new location. Copying the adb executable from the new location to the old is not recommended, since subsequent updates to the SDK Tools will delete the file.
- The default ProGuard configuration,
proguard.cfg, now ignores the following classes:- classes that extend
Preference - classes that extend
BackupAgentHelper
- classes that extend
- Ant lib rules now allow you to override
java.encoding,java.source, andjava.targetproperties. - The default encoding for the
javacAnt task is now UTF-8. - The LogCat view in DDMS now properly displays UTF-8 characters.
- The SDK Manager is more reliable on Windows. For details on the improvements, see the Android Tools Project Site.
- If you enabled snapshots for an AVD, they are automatically captured. The emulator also now restores to the state when it last closed almost instantly.
- Fixed the missing JAR file error that prevented
draw9patchfrom running. - Fixed the Windows launch scripts
hierarchyviewerandddmsto support the new location ofadb. - Known issues with emulator performance: Because the Android emulator must simulate the ARM instruction set architecture on your computer, emulator performance is slow. We're working hard to resolve the performance issues and it will improve in future releases.
ADT Plugin for Eclipse
- "Go To Declaration" hyperlink support: You can jump directly from code references (such as
R.id.main) to the corresponding XML declaration, or from XML attributes (such as@string) to the corresponding resource definition, or from manifest XML registrations to activities and services. - Improvements were made to name refactoring.
- AVDs now automatically save their state, so they can restart almost instantly. You can enable this feature when creating an AVD or by editing an AVD with the AVD Manager.
- Improvements to the Visual Layout Editor:
- Support for rendering targets: You can now choose an arbitrary Android platform to render the current page, regardless of the project's minimum platform. This makes it easy to verify the layout and appearance of your activity on different versions of the platform.
- Improved support for empty and nested layouts: Dragging items over nested and invisible layouts automatically enlarges and highlights these layouts, so that they can receive drops.
- XML formatting improvements: The editor generates cleaner XML and you can now enable XML auto-formatting in the Preferences menu.
- Improved Outline labels: The Outline tab now displays additional information about each View. Textual Views display a snippet of the actual text. Views with a source (such as ImageView) displays the resource name. Included Views display the name of the View.
- When you right click a View in the Layout Editor, the context menu now contains Edit ID... and Edit Text... items. The Properties... context menus now list all of the properties and provide a way to edit them (Details).
- The layout editor now properly handles
<include>and<merge>tags (Details). - "Extract as Include" refactoring: The Layout Editor has a new refactoring that allows you to select one or more views in a layout, and extract it into a separate layout (Details).
- Improved diagnostics for class loading and rendering errors: Class loading and rendering error messages are more useful and provide better information about the root cause of the error.
- Improved error handling to prevent drag and reordering operations from adding children into an
AdapterView. - Outline reordering: Reordering your views in the Outline tab is much easier (Details).
- Fix for keybinding bug where keyboard shortcuts did not work (Issues 13231 and 13134).
- Fix for problems with Custom layout attribute menu (Issue 13134).
- Automatic configuration for various view types: Certain views have properties configured by default. For example, the width of an
EditTextobject is set tomatch_parentwhen added to a verticalLinearLayoutor a default image is added to anImageButton. - Previews during dragging: Dragging from the palette or dragging within the layout editor now shows live previews of the dragged item.
- Navigation improvements: In the Layout Editor, double-clicking Views jumps to the corresponding XML element. In the Outline view, double-clicking opens the Properties view.
- The editor has Honeycomb style animation preview support.
- Improved rendering support for various Views (such as TabHosts and SlidingDrawers) in Honeycomb (Issues 3162 and 13092).
- Included layouts can be rendered and edited in the context of the layouts that include them. From a layout using an
<include>tag, double-clicking on the<include>element edits the referenced layout in the context of the current layout. Additionally, when editing a layout that is included by other layouts, you can quickly change between context layouts, by right clicking in the editor and choosing Show included in.... This feature is only available in Honeycomb.
- This release fixes many other bugs, but the most important ones are listed below:
- Fixed issue that prevented launching debug builds on productions devices when
debuggable=truewas not set in the Android manifest. - The LogCat view in DDMS properly handles UTF-8 characters.
- The SDK Manager is more reliable on Windows (Details).
- A JUnit initialization bug that prevented you from working with JUnit tests was fixed (Issue 12411).
- Fixed issue that prevented launching debug builds on productions devices when
Android NDK
This release of the NDK does not include any new features compared to r5. The r5b release addresses the following problems in the r5 release:
- The r5 binaries required glibc 2.11, but the r5b binaries are generated with a special toolchain that targets glibc 2.7 or higher instead. The Linux toolchain binaries now run on Ubuntu 8.04 or higher.
- Fixes a compiler bug in the arm-linux-androideabi-4.4.3 toolchain. The previous binary generated invalid thumb instruction sequences when dealing with signed chars.
- Adds missing documentation for the "gnustl_static" value for APP_STL, that allows you to link against a static library version of GNU libstdc++.
- The following
ndk-buildissues are fixed:- A bug that created inconsistent dependency files when a compilation error occured on Windows. This prevented a proper build after the error was fixed in the source code.
- A Cygwin-specific bug where using very short paths for the Android NDK installation or the project path led to the generation of invalid dependency files. This made incremental builds impossible.
- A typo that prevented the cpufeatures library from working correctly with the new NDK toolchain.
- Builds in Cygwin are faster by avoiding calls to
cygpath -mfrom GNU Make for every source or object file, which caused problems with very large source trees. In case this doesn't work properly, defineNDK_USE_CYGPATH=1in your environment to usecygpath -magain. - The Cygwin installation now notifies the user of invalid installation paths that contain spaces. Previously, an invalid path would output an error that complained about an incorrect version of GNU Make, even if the right one was installed.
- Fixed a typo that prevented the
NDK_MODULE_PATHenvironment variable from working properly when it contained multiple directories separated with a colon. - The
prebuilt-common.shscript contains fixes to check the compiler for 64-bit generated machine code, instead of relying on the host tag, which allows the 32-bit toolchain to rebuild properly on Snow Leopard. The toolchain rebuild scripts now also support using a 32-bit host toolchain. - A missing declaration for
INET_ADDRSTRLENwas added to<netinet/in.h>. - Missing declarations for
IN6_IS_ADDR_MC_NODELOCALandIN6_IS_ADDR_MC_GLOBALwere added to<netinet/in6.h>. - 'asm' was replaced with '__asm__' in
<asm/byteorder.h>to allow compilation with-std=c99.
'Android > APP&SDK' 카테고리의 다른 글
| ADT 10.0.1 (0) | 2011/03/17 |
|---|---|
| SDK Tools r10 & ADT 10.0.0 (0) | 2011/03/11 |
| SDK Tools r9 & ADT 9.0.0 & NDK r5b (0) | 2011/01/27 |
| SDK Tools, r8 & ADT 8.0.0 & NDK, r5 for Gingerbread (0) | 2010/12/07 |
| SDK Tools r6 & ADT 0.9.7 & NDK r4 for Froyo (1) | 2010/05/27 |
| Android NDK r3 & SDK Tools r5, ADT 0.9.6 Release (0) | 2010/03/09 |