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 Kasım 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
Etiketler
Android O
Android Studio
Design
Develop
Google Play
Archive
Ocak 2021
(1)
Aralık 2020
(7)
Kasım 2020
(7)
Ekim 2020
(7)
Eylül 2020
(9)
Ağustos 2020
(18)
Temmuz 2020
(18)
Haziran 2020
(18)
Mayıs 2020
(4)
Nisan 2020
(7)
Mart 2020
(9)
Şubat 2020
(9)
Ocak 2020
(3)
Aralık 2019
(8)
Kasım 2019
(12)
Ekim 2019
(11)
Eylül 2019
(5)
Ağustos 2019
(9)
Temmuz 2019
(8)
Haziran 2019
(6)
Mayıs 2019
(15)
Nisan 2019
(10)
Mart 2019
(11)
Şubat 2019
(5)
Ocak 2019
(6)
Aralık 2018
(11)
Kasım 2018
(9)
Ekim 2018
(13)
Eylül 2018
(5)
Ağustos 2018
(13)
Temmuz 2018
(9)
Haziran 2018
(16)
Mayıs 2018
(16)
Nisan 2018
(8)
Mart 2018
(8)
Şubat 2018
(7)
Ocak 2018
(9)
Aralık 2017
(9)
Kasım 2017
(13)
Ekim 2017
(14)
Eylül 2017
(11)
Ağustos 2017
(19)
Temmuz 2017
(11)
Haziran 2017
(13)
Mayıs 2017
(21)
Nisan 2017
(12)
Mart 2017
(14)
Şubat 2017
(11)
Ocak 2017
(12)
Aralık 2016
(17)
Kasım 2016
(16)
Ekim 2016
(9)
Eylül 2016
(6)
Ağustos 2016
(7)
Temmuz 2016
(12)
Haziran 2016
(14)
Mayıs 2016
(16)
Nisan 2016
(14)
Mart 2016
(8)
Şubat 2016
(8)
Ocak 2016
(9)
Aralık 2015
(9)
Kasım 2015
(13)
Ekim 2015
(19)
Eylül 2015
(15)
Ağustos 2015
(13)
Temmuz 2015
(9)
Haziran 2015
(8)
Mayıs 2015
(10)
Nisan 2015
(10)
Mart 2015
(12)
Şubat 2015
(8)
Ocak 2015
(3)
Aralık 2014
(9)
Kasım 2014
(13)
Ekim 2014
(11)
Eylül 2014
(6)
Ağustos 2014
(2)
Temmuz 2014
(9)
Haziran 2014
(10)
Mayıs 2014
(4)
Mart 2014
(4)
Şubat 2014
(3)
Ocak 2014
(2)
Aralık 2013
(3)
Kasım 2013
(2)
Ekim 2013
(7)
Eylül 2013
(2)
Ağustos 2013
(5)
Temmuz 2013
(5)
Haziran 2013
(4)
Mayıs 2013
(9)
Nisan 2013
(3)
Mart 2013
(2)
Şubat 2013
(3)
Ocak 2013
(3)
Aralık 2012
(5)
Kasım 2012
(3)
Ekim 2012
(3)
Eylül 2012
(1)
Ağustos 2012
(1)
Temmuz 2012
(2)
Haziran 2012
(5)
Mayıs 2012
(1)
Nisan 2012
(5)
Mart 2012
(5)
Şubat 2012
(5)
Ocak 2012
(5)
Aralık 2011
(7)
Kasım 2011
(7)
Ekim 2011
(5)
Eylül 2011
(5)
Ağustos 2011
(3)
Temmuz 2011
(7)
Haziran 2011
(2)
Mayıs 2011
(5)
Nisan 2011
(6)
Mart 2011
(8)
Şubat 2011
(8)
Ocak 2011
(4)
Aralık 2010
(8)
Kasım 2010
(3)
Ekim 2010
(4)
Eylül 2010
(7)
Ağustos 2010
(6)
Temmuz 2010
(10)
Haziran 2010
(11)
Mayıs 2010
(11)
Nisan 2010
(2)
Mart 2010
(3)
Şubat 2010
(2)
Ocak 2010
(5)
Aralık 2009
(7)
Kasım 2009
(5)
Ekim 2009
(5)
Eylül 2009
(8)
Ağustos 2009
(2)
Temmuz 2009
(1)
Haziran 2009
(2)
Mayıs 2009
(5)
Nisan 2009
(12)
Mart 2009
(5)
Şubat 2009
(8)
Ocak 2009
(3)
Aralık 2008
(3)
Kasım 2008
(1)
Ekim 2008
(4)
Eylül 2008
(6)
Ağustos 2008
(4)
Haziran 2008
(1)
Mayıs 2008
(5)
Nisan 2008
(4)
Mart 2008
(5)
Şubat 2008
(2)
Ocak 2008
(5)
Aralık 2007
(3)
Kasım 2007
(5)
Feed
Newsletter
Android Developers
Google Play