Paul Krill
Editor at Large

Google debuts faster, smarter Android Studio IDE

news
May 18, 20162 mins

Android Studio 2.2 focuses on speed, smarts, and platform support

Google is offering a preview release of its Android Studio 2.2 IDE, with improvements in areas ranging from testing to build system and layout accommodations.

The enhancements focus on three areas: speed, smarts, and platform support, said Google’s Stephanie Saad Cuthbertson, Android director of product management.

A feature called Espresso test recording makes it easier to conduct tests, automatically churning out code for tests as if the developers had written it themselves. If, for example, an application opens up Google Drive, creates a document, and shares text with someone, “Android Studio will generate the code that exactly mimics those actions,” said Cuthbertson.

The IDE also gets a speed boost from faster synchronization with the Gradle build system used with Android development. Improvements in layout functionality, meanwhile, enable faster building of layouts, and the layouts themselves will run quicker.

Under the category of smart improvements, an Android Application Package analyzer reduces the size of the APK itself. Enhanced code analysis, meanwhile adds checks to cover Java 8, the support for which was added last month in Android Studio 2.1.  Version 2.2 also incorporates the latest version of JetBrains’ IntelliJ Idea IDE, which forms the basis of Android Studio, including improved Java 8 backing, as well as enhancements for debugging, editing, and refactoring.

The Constraint Layout feature lets developers position widgets in applications and automatically resizes widgets for different Android screens and orientations. The IDE’s layout inspector, meanwhile, helps debug application layouts.

For platform support, the Jack compiler in version 2.2 features annotation processing as well as reduced build times. For C++ development, the upgrade supports NDK (Native Development Kit) builds and CMake tools. Via a plug-in, developers can use the Firebase SDK, enabling synchronization between devices and the cloud. The IDE now has guides to make Firebase integration easier than it was before.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author