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 11월 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
태그
Android O
Android Studio
Design
Develop
Google Play
Archive
5월 2022
(20)
4월 2022
(8)
3월 2022
(16)
2월 2022
(9)
1월 2022
(6)
12월 2021
(8)
11월 2021
(4)
10월 2021
(15)
9월 2021
(11)
8월 2021
(7)
7월 2021
(15)
6월 2021
(9)
5월 2021
(18)
4월 2021
(10)
3월 2021
(12)
2월 2021
(11)
1월 2021
(3)
12월 2020
(7)
11월 2020
(7)
10월 2020
(7)
9월 2020
(9)
8월 2020
(18)
7월 2020
(18)
6월 2020
(18)
5월 2020
(4)
4월 2020
(7)
3월 2020
(9)
2월 2020
(9)
1월 2020
(3)
12월 2019
(8)
11월 2019
(12)
10월 2019
(11)
9월 2019
(5)
8월 2019
(9)
7월 2019
(8)
6월 2019
(6)
5월 2019
(15)
4월 2019
(10)
3월 2019
(11)
2월 2019
(5)
1월 2019
(6)
12월 2018
(11)
11월 2018
(9)
10월 2018
(13)
9월 2018
(5)
8월 2018
(13)
7월 2018
(9)
6월 2018
(16)
5월 2018
(16)
4월 2018
(8)
3월 2018
(8)
2월 2018
(7)
1월 2018
(9)
12월 2017
(9)
11월 2017
(13)
10월 2017
(14)
9월 2017
(11)
8월 2017
(19)
7월 2017
(11)
6월 2017
(13)
5월 2017
(21)
4월 2017
(12)
3월 2017
(14)
2월 2017
(11)
1월 2017
(12)
12월 2016
(17)
11월 2016
(16)
10월 2016
(9)
9월 2016
(6)
8월 2016
(7)
7월 2016
(12)
6월 2016
(14)
5월 2016
(16)
4월 2016
(14)
3월 2016
(8)
2월 2016
(8)
1월 2016
(9)
12월 2015
(9)
11월 2015
(13)
10월 2015
(19)
9월 2015
(15)
8월 2015
(13)
7월 2015
(9)
6월 2015
(8)
5월 2015
(10)
4월 2015
(10)
3월 2015
(12)
2월 2015
(8)
1월 2015
(3)
12월 2014
(9)
11월 2014
(13)
10월 2014
(11)
9월 2014
(6)
8월 2014
(2)
7월 2014
(9)
6월 2014
(10)
5월 2014
(4)
3월 2014
(4)
2월 2014
(3)
1월 2014
(2)
12월 2013
(3)
11월 2013
(2)
10월 2013
(7)
9월 2013
(2)
8월 2013
(5)
7월 2013
(5)
6월 2013
(4)
5월 2013
(9)
4월 2013
(3)
3월 2013
(2)
2월 2013
(3)
1월 2013
(3)
12월 2012
(5)
11월 2012
(3)
10월 2012
(3)
9월 2012
(1)
8월 2012
(1)
7월 2012
(2)
6월 2012
(5)
5월 2012
(1)
4월 2012
(5)
3월 2012
(5)
2월 2012
(5)
1월 2012
(5)
12월 2011
(7)
11월 2011
(7)
10월 2011
(5)
9월 2011
(5)
8월 2011
(3)
7월 2011
(7)
6월 2011
(2)
5월 2011
(5)
4월 2011
(6)
3월 2011
(8)
2월 2011
(8)
1월 2011
(4)
12월 2010
(8)
11월 2010
(3)
10월 2010
(4)
9월 2010
(7)
8월 2010
(6)
7월 2010
(10)
6월 2010
(11)
5월 2010
(11)
4월 2010
(2)
3월 2010
(3)
2월 2010
(2)
1월 2010
(5)
12월 2009
(7)
11월 2009
(5)
10월 2009
(5)
9월 2009
(8)
8월 2009
(2)
7월 2009
(1)
6월 2009
(2)
5월 2009
(5)
4월 2009
(12)
3월 2009
(5)
2월 2009
(8)
1월 2009
(3)
12월 2008
(3)
11월 2008
(1)
10월 2008
(4)
9월 2008
(6)
8월 2008
(4)
6월 2008
(1)
5월 2008
(5)
4월 2008
(4)
3월 2008
(5)
2월 2008
(2)
1월 2008
(5)
12월 2007
(3)
11월 2007
(5)
Feed
Newsletter
Android Developers
Google Play