Powered by Blogger.

Google Launches Android Studio 2.0


Google launched version 2.0 of its Android Studio integrated development environment (IDE) for writing apps for its mobile operating system.

Android Studio, which is based on IntelliJ, launched back in 2013 and came out of beta a year ago. It includes everything a developer needs to build an app, including a code editor, code analysis tools, emulators for all of Google’s Android platforms, and more. The new version is now available as a preview in the Canary release channel of Android Studio.

With this update, Google massively accelerated deployment speeds, for example. Google’s group product manager for Android Studio Stephanie Cuthbertson said that a full build is now 2x to 2.5x faster than in previous releases. That’s a huge step forward, but what developers will likely appreciate even more in this new version is the addition of a new feature called “Instant Run.” This almost mimics the experience of writing HTML, where you write your code, reload your browser and see what changed. On mobile, that process typically takes quite a bit longer, even with the improved build speeds.


Instant Run lets developers build and deploy their apps once (both to the emulator or to a physical device) and then as they change their code and deploy it, it’ll only take a second or two before they can see those changes in the running app. This feature will work for all apps that target Ice Cream Sandwich and later. Cuthbertson politely refused to tell us how exactly Instant Run works, but promised that Google will detail the technology behind this feature in the future.

Given the size of the Android ecosystem, it’s almost impossible for most developers to test their apps on even the most popular devices early on in the development phase. With services like Xamarin Test Cloud, the AWS Device Farm and Google’s own Test Lab, developers have plenty of options to test their apps later on, but during the development process, most of the testing happens with the help of emulators. Google’s own emulator wasn’t always the fastest and easiest to use.

With this update, Google is introducing new emulators that, given modern hardware, should run faster than any physical device. The team also rebuilt the interface, so that it’s now easy to trigger typical actions like firing up the camera. Developers will also be able to emulate different network conditions and emulate the GPS. The emulator also includes access to all the standard Google Play services. Maybe more importantly, though, you can now simply resize the emulator window to test different screen sizes.

For developers who build graphics-intensive apps and games, the Studio now also includes a new GPU profiler. This will allow developers to see exactly what’s happening every time the screen draws a new image to trace performance issues, for example. This tool is still officially in preview. Google now offers a far improved build system in this new version of Android Studio.

0 comments:

Post a Comment