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 noviembre 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
Etiquetas
Android O
Android Studio
Design
Develop
Google Play
Archive
enero 2023
(4)
diciembre 2022
(8)
noviembre 2022
(22)
octubre 2022
(23)
septiembre 2022
(13)
agosto 2022
(10)
julio 2022
(6)
junio 2022
(10)
mayo 2022
(21)
abril 2022
(8)
marzo 2022
(16)
febrero 2022
(9)
enero 2022
(6)
diciembre 2021
(8)
noviembre 2021
(4)
octubre 2021
(15)
septiembre 2021
(11)
agosto 2021
(7)
julio 2021
(15)
junio 2021
(9)
mayo 2021
(18)
abril 2021
(10)
marzo 2021
(12)
febrero 2021
(11)
enero 2021
(3)
diciembre 2020
(7)
noviembre 2020
(7)
octubre 2020
(7)
septiembre 2020
(9)
agosto 2020
(18)
julio 2020
(18)
junio 2020
(18)
mayo 2020
(4)
abril 2020
(7)
marzo 2020
(9)
febrero 2020
(9)
enero 2020
(3)
diciembre 2019
(8)
noviembre 2019
(12)
octubre 2019
(11)
septiembre 2019
(5)
agosto 2019
(9)
julio 2019
(8)
junio 2019
(6)
mayo 2019
(15)
abril 2019
(10)
marzo 2019
(11)
febrero 2019
(5)
enero 2019
(6)
diciembre 2018
(11)
noviembre 2018
(9)
octubre 2018
(13)
septiembre 2018
(5)
agosto 2018
(13)
julio 2018
(9)
junio 2018
(16)
mayo 2018
(16)
abril 2018
(8)
marzo 2018
(8)
febrero 2018
(7)
enero 2018
(9)
diciembre 2017
(9)
noviembre 2017
(13)
octubre 2017
(14)
septiembre 2017
(11)
agosto 2017
(19)
julio 2017
(11)
junio 2017
(13)
mayo 2017
(21)
abril 2017
(12)
marzo 2017
(14)
febrero 2017
(11)
enero 2017
(12)
diciembre 2016
(17)
noviembre 2016
(16)
octubre 2016
(9)
septiembre 2016
(6)
agosto 2016
(7)
julio 2016
(12)
junio 2016
(14)
mayo 2016
(16)
abril 2016
(14)
marzo 2016
(8)
febrero 2016
(8)
enero 2016
(9)
diciembre 2015
(9)
noviembre 2015
(13)
octubre 2015
(19)
septiembre 2015
(15)
agosto 2015
(13)
julio 2015
(9)
junio 2015
(8)
mayo 2015
(10)
abril 2015
(10)
marzo 2015
(12)
febrero 2015
(8)
enero 2015
(3)
diciembre 2014
(9)
noviembre 2014
(13)
octubre 2014
(11)
septiembre 2014
(6)
agosto 2014
(2)
julio 2014
(9)
junio 2014
(10)
mayo 2014
(4)
marzo 2014
(4)
febrero 2014
(3)
enero 2014
(2)
diciembre 2013
(3)
noviembre 2013
(2)
octubre 2013
(7)
septiembre 2013
(2)
agosto 2013
(5)
julio 2013
(5)
junio 2013
(4)
mayo 2013
(9)
abril 2013
(3)
marzo 2013
(2)
febrero 2013
(3)
enero 2013
(3)
diciembre 2012
(5)
noviembre 2012
(3)
octubre 2012
(3)
septiembre 2012
(1)
agosto 2012
(1)
julio 2012
(2)
junio 2012
(5)
mayo 2012
(1)
abril 2012
(5)
marzo 2012
(5)
febrero 2012
(5)
enero 2012
(5)
diciembre 2011
(7)
noviembre 2011
(7)
octubre 2011
(5)
septiembre 2011
(5)
agosto 2011
(3)
julio 2011
(7)
junio 2011
(2)
mayo 2011
(5)
abril 2011
(6)
marzo 2011
(8)
febrero 2011
(8)
enero 2011
(4)
diciembre 2010
(8)
noviembre 2010
(3)
octubre 2010
(4)
septiembre 2010
(7)
agosto 2010
(6)
julio 2010
(10)
junio 2010
(11)
mayo 2010
(11)
abril 2010
(2)
marzo 2010
(3)
febrero 2010
(2)
enero 2010
(5)
diciembre 2009
(7)
noviembre 2009
(5)
octubre 2009
(5)
septiembre 2009
(8)
agosto 2009
(2)
julio 2009
(1)
junio 2009
(2)
mayo 2009
(5)
abril 2009
(12)
marzo 2009
(5)
febrero 2009
(8)
enero 2009
(3)
diciembre 2008
(3)
noviembre 2008
(1)
octubre 2008
(4)
septiembre 2008
(6)
agosto 2008
(4)
junio 2008
(1)
mayo 2008
(5)
abril 2008
(4)
marzo 2008
(5)
febrero 2008
(2)
enero 2008
(5)
diciembre 2007
(3)
noviembre 2007
(5)
Feed
Newsletter
Android Developers
Google Play