Jetpack
Kotlin
Docs
News
Platform
Android Studio
Google Play
Jetpack
Kotlin
Docs
News
Platform
Android Studio
Google Play
Jetpack
Kotlin
Docs
News
More
Android Developers Blog
The latest Android and Google Play news for app and game developers.
Android SDK Tools, Revision 21
14 November 2012
Posted by
Xavier Ducrohet
, Android SDK Tech Lead, and
Angana Ghosh
, Product Manager in Android
Along with the
Android 4.2 SDK
, we also launched a brand new update of the Android SDK Tools (Revision 21). The update includes new tools and capabilities that can help you work more efficiently as you create applications. Tools such as a new
multi-config editor
, and
new Lint rules
will help you develop apps more quickly, while a new
UI test framework
will give you more ways automate testing and QA for your apps. For new developers,
one-click SDK download
and new
app templates
help you get started more quickly.
Multi-config editor
A new multi-configuration editor allows you to develop and prototype your UI across various orientations, screen sizes and locales. For example, while editing your layout in portrait mode, you can see if your edits aren't visible in the shorter landscape orientation. You can see previews for other screen sizes from small phones to large tablets, you can see previews for the layout using all the available language translations in your app, and so on. You can even see how the layout appears when it is included as a fragment in a different larger layout. Finally, Android allows you to create specialized layouts for any of these configurations, and the multi configuration editor shows you these overridden layouts.
Here is a screenshot of the layout editor showing one of the layouts from the Google I/O application, across a variety of screen sizes.
More app templates
Tools R21 brings three new app templates to help you to easily add new screens to your app. There’s a new full-screen activity for use as a photo or video viewer, a settings activity to handle basic user preferences and a login activity to capture username/password.
UI Automator Test Framework
One common approach to UI testing is to run tests manually and verify that the app is behaving as expected. UI Automator is a new software testing framework available in Tools R21 that provides you with tools to easily automate UI testing tasks. It provides a GUI tool to scan and analyze the UI components of an Android application (uiautomatorviewer), a library containing APIs to create customized functional UI tests, and an execution engine to automate and run the tests against multiple physical devices. UI Automator runs on Android 4.1 (API level 16) or higher. To learn more head over to the
UI Testing
documentation.
One-click SDK installer
New Android SDK developers now have a convenient way to download all the various SDK components like Tools, Platform Tools, Eclipse ADT, and the latest system image with a single click. Existing developers can continue to manage their SDK components and get updates through the SDK Manager.
Revamped AVD creation dialog
The new dialog makes it easier to create Android Virtual Devices (AVDs) matching real device profiles. The AVDs will also appear in the layout editor to show you how the layouts will look.
More Lint rules
And to wrap things up there are 25 new lint rules which catch several common sources of bugs, for example deviations from Android design guide for icons, checks for mismanaged wakelocks, common sources of locale-related bugs and so on. So make sure you upgrade and let Lint loose on your projects before your next app update!
A minor bug-fix to the Android NDK is also available. For a complete list of what’s new, see the release notes for
SDK Tools R21
,
ADT 21.0.0
and
Android NDK R8c
.
Join the discussion on
+Android Developers
Label
Android O
Android Studio
Design
Develop
Google Play
Archive
Agustus 2022
(5)
Juli 2022
(6)
Juni 2022
(10)
Mei 2022
(21)
April 2022
(8)
Maret 2022
(16)
Februari 2022
(9)
Januari 2022
(6)
Desember 2021
(8)
November 2021
(4)
Oktober 2021
(15)
September 2021
(11)
Agustus 2021
(7)
Juli 2021
(15)
Juni 2021
(9)
Mei 2021
(18)
April 2021
(10)
Maret 2021
(12)
Februari 2021
(11)
Januari 2021
(3)
Desember 2020
(7)
November 2020
(7)
Oktober 2020
(7)
September 2020
(9)
Agustus 2020
(18)
Juli 2020
(18)
Juni 2020
(18)
Mei 2020
(4)
April 2020
(7)
Maret 2020
(9)
Februari 2020
(9)
Januari 2020
(3)
Desember 2019
(8)
November 2019
(12)
Oktober 2019
(11)
September 2019
(5)
Agustus 2019
(9)
Juli 2019
(8)
Juni 2019
(6)
Mei 2019
(15)
April 2019
(10)
Maret 2019
(11)
Februari 2019
(5)
Januari 2019
(6)
Desember 2018
(11)
November 2018
(9)
Oktober 2018
(13)
September 2018
(5)
Agustus 2018
(13)
Juli 2018
(9)
Juni 2018
(16)
Mei 2018
(16)
April 2018
(8)
Maret 2018
(8)
Februari 2018
(7)
Januari 2018
(9)
Desember 2017
(9)
November 2017
(13)
Oktober 2017
(14)
September 2017
(11)
Agustus 2017
(19)
Juli 2017
(11)
Juni 2017
(13)
Mei 2017
(21)
April 2017
(12)
Maret 2017
(14)
Februari 2017
(11)
Januari 2017
(12)
Desember 2016
(17)
November 2016
(16)
Oktober 2016
(9)
September 2016
(6)
Agustus 2016
(7)
Juli 2016
(12)
Juni 2016
(14)
Mei 2016
(16)
April 2016
(14)
Maret 2016
(8)
Februari 2016
(8)
Januari 2016
(9)
Desember 2015
(9)
November 2015
(13)
Oktober 2015
(19)
September 2015
(15)
Agustus 2015
(13)
Juli 2015
(9)
Juni 2015
(8)
Mei 2015
(10)
April 2015
(10)
Maret 2015
(12)
Februari 2015
(8)
Januari 2015
(3)
Desember 2014
(9)
November 2014
(13)
Oktober 2014
(11)
September 2014
(6)
Agustus 2014
(2)
Juli 2014
(9)
Juni 2014
(10)
Mei 2014
(4)
Maret 2014
(4)
Februari 2014
(3)
Januari 2014
(2)
Desember 2013
(3)
November 2013
(2)
Oktober 2013
(7)
September 2013
(2)
Agustus 2013
(5)
Juli 2013
(5)
Juni 2013
(4)
Mei 2013
(9)
April 2013
(3)
Maret 2013
(2)
Februari 2013
(3)
Januari 2013
(3)
Desember 2012
(5)
November 2012
(3)
Oktober 2012
(3)
September 2012
(1)
Agustus 2012
(1)
Juli 2012
(2)
Juni 2012
(5)
Mei 2012
(1)
April 2012
(5)
Maret 2012
(5)
Februari 2012
(5)
Januari 2012
(5)
Desember 2011
(7)
November 2011
(7)
Oktober 2011
(5)
September 2011
(5)
Agustus 2011
(3)
Juli 2011
(7)
Juni 2011
(2)
Mei 2011
(5)
April 2011
(6)
Maret 2011
(8)
Februari 2011
(8)
Januari 2011
(4)
Desember 2010
(8)
November 2010
(3)
Oktober 2010
(4)
September 2010
(7)
Agustus 2010
(6)
Juli 2010
(10)
Juni 2010
(11)
Mei 2010
(11)
April 2010
(2)
Maret 2010
(3)
Februari 2010
(2)
Januari 2010
(5)
Desember 2009
(7)
November 2009
(5)
Oktober 2009
(5)
September 2009
(8)
Agustus 2009
(2)
Juli 2009
(1)
Juni 2009
(2)
Mei 2009
(5)
April 2009
(12)
Maret 2009
(5)
Februari 2009
(8)
Januari 2009
(3)
Desember 2008
(3)
November 2008
(1)
Oktober 2008
(4)
September 2008
(6)
Agustus 2008
(4)
Juni 2008
(1)
Mei 2008
(5)
April 2008
(4)
Maret 2008
(5)
Februari 2008
(2)
Januari 2008
(5)
Desember 2007
(3)
November 2007
(5)
Feed
Newsletter
Android Developers
Google Play