id
tocheck that you're now in the plugdev group.android-sdk-platform-tools-common
package containsa community-maintained default set of udev rules for Android devices. Toinstall:adb devices
commandfrom your android_sdk/platform-tools/
directory. Ifconnected, you'll see the device listed.-d
flag to target your device..apk
files in order to distribute your application.R.
field name or ID in the layout editor invokes a refactoring routine to update all resource references.<fragment android:name=””>
tag now suggests completion with a list of fragment classes. Similarly, code completion in the manifest now offers implementations suitable for the given tag.project.properties
file: dex.disable.merger=true
This setting causes the build system to revert to the older, slower dex processing that does not pre-dex libraries.0px
values in style XML elements. (Issue 39601) tools:ignore
directive in the manifest file was ignored by the Lint tool. (Issue 40136) layout_width
and layout_height
XML fields. (Issue 38958) devices.xml
file in other locales. (Issue 39704)
path characters.@
. (Issue 40222) android:numColumns
attribute in a layout. (Issue 21296) .android/devices.xml
file.GridLayout
.ldrtl
and ldltr
resource qualifiers.*.out.xml
output files, causing project errors. (Issue 3767)strings.xml
) when exporting an application that references a library with string resources. (Issue 39751)Fragment
layout or a ListView
preview layout is now applied not only to the current layout but to all other configurations of the same layout.RelativeLayout
in the layout editor, so that dragging widgets around and deleting them should now result in the layout working more intuitively. In particular, deleting a widget causes the constraints flowing through the deleted widgets to be intelligently adjusted, and when moving widgets the constraints are preserved whenever possible.android:id
attribute) by invoking the Rename shortcut.SparseArray
and PowerManager.WakeLock
and manifest issues.?android:attr/dividerHeight
./values
directory are validated when files are saved..apk
files.xxhdpi
density, which was included in API Level 16.lint
check for unprotected broadcast receivers to ignoreunprotected receivers for default Android actions.minSdkVersion
and targetSdkVersion
attributes in manifest files so that version descriptions are displayed for each of the APIlevelsmanifestmerger.enabled
property.aapt -G
flag. This change causesthe build system to generate a temporary ProGuard keep-rules file containing classes thatare referenced from XML files (such as custom views) and pass this to ProGuard at shrink-time. Thiscan 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 thedefault ProGuard configuration file have also been removed..jar
files in the /libs
folder are added to the build configuration (similar to how the Ant build system works). Also, .jar
files needed by library projects are also automatically added to projects that depend on those library projects. (more info)BuildConfig
containing a DEBUG
constant that isautomatically set according to your build type. You can check the (BuildConfig.DEBUG
)constant in your code to run debug-only functions.http://schemas.android.com/apk/res-auto
insteadof the URI that includes the app package name. This URI is replaced with the app specific one atbuild time.@string/hello
the chooser displays a resolved value such as 'Hello World').The resource chooser also now allows you to edit the chosen value directly.SlidingDrawer
which could not be dragged into the layout on some platforms.SlidingDrawer
and TabHost
. (Issue 23022)..jar
files.bin/
folder for library projects are refreshed. This ensures that parent projects pick up changes in library projects.res/
folders are checked in library projects. This ensures that all res
folders are properly included even if Eclipse is not aware of them due to refresh issues.aapt
from running when editing certain XML files.default.properties
to project.properties
and build.properties
to ant.properties
. ADT automatically renames these files, if necessary, when you open a project in Eclipse.javac
from bin/
to bin/classes
in Eclipse.id
) and no longer run once for each library project.wrap_content
and match_parent
. In LinearLayout, sizes are mapped to weights instead of pixel widths. (more info).styles.xml
(more info).EditText
widget in as a password field, an e-mail field, a phone field, or othertypes of text boxes. Similarly, TextView
widgets are preconfiguredwith large, normal and small theme sizes, and LinearLayout
elements arepreconfigured in horizontal and vertical configurations (more info).<include>
element from the palette, which will pop up a layout chooser. When you select the layout to include, it is added with an <include>
. Similarly, dropping images or image buttons will pop up image resource choosers (more info).<style>
elements, completes dimensional units, sorts resource paths in values based on the attribute name, and more. There are also many fixes tohandle text replacement (more info).gen/
directory) and bytecode (in the res/raw/
directory) from your .rs
files..java
files quickly show all the matches in the project and allows you jump to specific items such as string translations or onClick
handlers (details).<merge>
layouts, as well as layouts with gesture overlays (details).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.<include>
and <merge>
tags (Details).AdapterView
.EditText
object is set to match_parent
when added to a vertical LinearLayout
or a default image is added to an ImageButton
.<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.debuggable=true
was not set in the Android manifest.debuggable
attribute in the Android Manifest. debuggable='true'
, but if you perform 'export signed/unsigned application package', ADT does not insert it. If you manually set debuggable='true'
in the manifest file, then release builds will actually create a debug build (it does not remove it if you placed it there).proguard.config
property in the default.properties
file that points to a ProGuard config file.android.jar
source and javadoc can now be configured.src/
. There is now support for any number of source folders,with no name restriction. They can even be in subfolder such assrc/java
. If you are already working with library projects createdin ADT 0.9.7, see Migratinglibrary projects to ADT 0.9.8 for important information about movingto the new ADT environment.car
/desk
, night
/notnight
andnavexposed
/navhidden
.default.properties
outside of Eclipse will nowautomatically update the project.