androidstudio2

Google debuts faster, smarter Android Studio IDE

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.

IDG Insider

PREVIOUS ARTICLE

« Google is taking another shot at messaging with its new Allo app

NEXT ARTICLE

Faced with a bunch of obstacles, this robot got creative and surprised its makers »
author_image
IDG News Service

The IDG News Service is the world's leading daily source of global IT news, commentary and editorial resources. The News Service distributes content to IDG's more than 300 IT publications in more than 60 countries.

  • Mail

Poll

Do you think your smartphone is making you a workaholic?