• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Change log for Android SDK Tools.
2
3Revision 20:
4- Ant build system:
5- Ant build system:
6   * the location of the SDK can now be set through the ANDROID_HOME
7     environment variable (requires updating the project's build.xml file)
8   * Fixed issues with compilation, deployment of test projects and running tests.
9     Both separate test projects and self-contained app+test projects now work.
10   * Aidl files from library projects are now in the import list.
11
12Revision 19:
13- Fix GPU rendering
14
15Revision 18:
16* Fix Ant issues where some jar libraries in libs/ are not picked in some
17  cases
18* New version of SdkController
19
20Revision 17:
21* Bug fixes.
22* ProGuard updated to version 4.7. In addition to many new features,
23  this will fix the "Conversion to Dalvik format failed with error 1"
24  error some users have experienced.
25* The default proguard.cfg file has been updated with better
26  flags.
27* Lint now checks Java code, and checks which previously performed
28  pattern based searches in the Java code (such as the unused resource
29  check) have been rewritten to use the more accurate Java parse
30  trees.
31* Lint supports library projects, so for example the unused resource
32  check will properly handle resources declared in a library project
33  and referenced in a downstream project.
34* Lint warnings can be suppressed in Java code with the new
35  @SuppressLint annotation, and in XML files with the new tools:
36  namespace and ignore-attribute.
37* New lint checks:
38  * Find Android API calls that require a version of Android higher
39    than the minimum supported version. You can use the new @TargetApi
40    annotation to specify local overrides for conditionally loaded
41    code.
42  * Find object allocations within onDraw, onMeasure and onLayout
43    calls
44  * Find usages of HashMap<Integer,X> which can be replaced by the
45    more efficient SparseArray, SparseIntArray or SparseBooleanArray
46  * Find typos in XML namespace declarations, as well as unused custom
47    namespace declarations and usages of custom namespaces in library
48    projects which do not yet work
49  * Find manifest files which declare more than one <uses-sdk>
50    elements, or which fail to declare minSdkVersion or
51    targetSdkVersion
52  * Check dialog button order such that OK/Cancel are in the right
53    order (depending on the target version of Android), that they are
54    using the standard case ("OK", not "Ok" or "ok" etc), and that
55    there aren't any Back buttons.
56  * Check menus to ensure that they are using "ifRoom" instead of
57    "always" for the showAsAction attribute (unless it's used
58    sparingly)
59  * Find hardcoded android:debuggable attributes on <application>
60    elements. This can lead to accidentally leaving debug information
61    in published applications.
62  * Find errors in format strings. This includes inconsistencies
63    between translated versions, as well as incompatible types
64    declared in XML and supplied in the String.format call in Java.
65  * Find incorrect casts in Java code where the cast is incompatible
66    with the view type declared in XML layouts.
67  * Find hardcoded references to "/sdcard" in Java code; these should
68    be using Environment.getExternalStorageDirectory().getPath()
69    instead
70  * Find "import android.R" statements in Java code, which can lead to
71    confusing compilation error messages
72  * Find Java code which creates world-writeable files (which can lead
73    to security problems)
74  * Find references to private resources (which can lead to runtime
75    errors on devices that do not provide the resource, since private
76    resources may disappear any time, and may not be present on all
77    platforms.)
78  * Find invalid @id references (where for example a RelativeLayout
79    references an id that does not exist anywhere). If no match is
80    found, it looks for spelling mistakes and suggests other similar
81    ids in the error message.
82  * Finds method calls to java.lang.Math where a float variable is
83    cast to a double and/or the return value is cast to a float, and
84    suggests replacing it with the equivalent android.util.FloatMath
85    method.
86  * Finds calls to a getter on the same class where a field could be
87    accessed instead.
88  * Find XML files using a different encoding format than UTF-8, since
89    this can lead to subtle bugs (and lint was fixed to properly use
90    the specified encoding)
91  * Find XML resource files that contain text which should not be
92    there (such as in layouts). This can identify accidentally
93    malformed documents which happen to be valid XML, such as a
94    missing "<" tag opening character.
95  * Find style references which lead to cycles, such as extending
96    self.
97
98Revision 16:
99* New "lint" tool which scans Android project trees for potential
100  problems such as missing translations, duplicate ids between layouts
101  that include each other, using px instead of dp units, hardcoded
102  strings, missing contentDescriptions, obsolete Proguard
103  configuration files, etc. For a full list of available issues run
104  "lint --show" (and see eclipse/changes.txt for further details).
105* layoutopt was removed; its functionality is replaced by the new lint
106  tool
107
108Revision 14:
109
110- Build performance improvements:
111   * resource compilation and packaging now properly use dependency to only
112     be executed if a resource changed.
113   * Optimized resource compilation for projects with libraries. This should
114     speed up this phase significantly for large projects with libraries.
115   * PNG files that are optimized during resource packaging are now cached
116     and only re-optimized if they changed instead of doing at every build.
117- New library project mechanism:
118   *
119
120Revision 13:
121
122Revision 12: (07/2011):
123- The AVD manager and emulator can now use system images compiled for ARM v7 and
124  x86 CPUs.
125
126Revision 11 (05/2011):
127- See eclipse/changes.txt for ADT related changes.
128
129Revision 10 (02/2011):
130- The tools now automatically generate Java Programming Language
131  source files (in the gen directory) and bytecode (in the res/raw
132  directory) from your native .rs files
133
134Revision 9 (01/2011):
135- Fix packaging issue that broke draw9patch
136- Ant build rules will now check the Ant version and fail if it's older than 1.8
137- Fix "folder locked" errors when installing packages in SDK Manager on Windows.
138- Support https proxy when installing from SDK Manager.
139- SDK Manager now suggests to install missing base platform for add-ons.
140- Default proguard config file changes:
141   * ignore classes extending android.preference.Preference
142   * ignore classes extending android.app.backup.BackupAgentHelper
143- Ant lib rules now allow for overriding java.encoding, java.source, and java.target
144- Default encoding for Ant javac is now UTF-8
145- Logcat view in DDMS now properly displays UTF-8 characters.
146
147
148Revision 8 (12/2010):
149- New SDK component: platform-tools. This makes all platforms use the same
150  latest version of aapt/aidl/dx.
151- Support for true debug build. No need to change the value of debuggable in
152  the Android Manifest.
153  "ant debug" will automatically insert debuggable==true, while "ant release"
154  will not.
155  If debuggable=true is set, then "ant release" will actually do a debug build.
156- Automatic Proguard support in release builds. Only need to have a proguard.config
157  property in default.properties that points to a proguard config file.
158- new overridable Ant javac properties: java.encoding, java.source, and java.target
159  (default to "ascii", "1.5" and "1.5")
160
161
162Revision 7 (09/2010):
163- Support for Ant rules provided by the Tools components (override the one in
164  the platform component)
165- Added support for libraries with library dependencies.
166- Support for aidl files in library projects.
167- Support for extension targets in Ant build to perform tasks between the
168  normal tasks: -pre-build, -pre-compile, -post-compile.
169- Headless SDK update. See 'android -h update sdk' for more info.
170- Fixed location control in DDMS to work in any locale not using '.' as a
171  decimal point.
172
173
174Revision 6 (05/2010)
175- Support for library project to share code/resources among projects
176    - Updated Ant rules and custom tasks
177    - New "android create lib-project", "android update lib-project" actions.
178    - New parameter for "android update project"
179
180
181Revision 5 (03/2010):
182- AVD/SDK Manager:
183	- Fixed SSL download for the standalone version of the SDK Updater.
184	- Fixed issue with 64bit JVM on windows.
185	- Add support for samples components.
186	- improved support for dependency between components.
187	- AVDs now sorted by API level.
188	- Prevent deletion of running AVDs.
189	- Settings are now automatically saved, no need to click Apply.
190- Emulator now requires sd card to be 9MB and above.
191- Fixed layoutopt.bat to correctly execute on Windows.
192
193