Google today launched Android Studio 2.0, the latest version of its integrated development environment (IDE), with a long list of new features. You can download the new version now directly from Android.com/SDK.
In November, Google unveiled Android Studio 2.0, the second major version of its IDE. Version 2.0 brings a slew of improvements, including Instant Run, a faster Android emulator, and app indexing improvements. Google released a beta in February, though it didn’t say when the final version would be ready (we speculated in time for its I/O developer conference in May, but it ended up being sooner).
Google launches Android Studio 2.0 with Instant Run, faster Android emulator, and Cloud Test Lab
Here is the full feature list:
- Instant Run: This feature is supposed to dramatically improve your workflow by letting you quickly see changes running on your device or emulator. It lets you see your changes running “in a near instant,” which means you can continuously code and run your app, hopefully accelerating your edit, build, run cycles. When you click on the Instant Run button, it will analyze the changes you have made and determine how it can deploy your new code in the fastest way. Instant Run works with any Android Device or emulator running API 14 (Ice Cream Sandwich) or higher.
- Android Emulator: The new Android Emulator is up to 3x faster in CPU, RAM, and I/O in comparison to the previous Android emulator. ADB push speeds are 10x faster. In fact, developing on the official Android Emulator is faster than a real device in most situations. It also has a new user interface and sensor controls, letting you you drag and drop APKs for quick installation, resize and rescale the window, use multi-touch actions (pinch & zoom, pan, rotate, tilt), and so on.
- Cloud Test Lab: This new service allows you to test your app across a wide range of devices and device configurations. Google sees it as an extension to your testing process that lets you run through a collection of tests against a portfolio of physical devices hosted in Google’s data centers. Even if you do not have tests explicitly written, Cloud Test Lab can perform a basic set of crash tests, right from Android Studio.
- App Indexing: It is now easier for your users to find your app in Google Search with the App Indexing API. Android Studio 2.0 helps you to create the correct URL structure in your app code and add attributes in your AndroidManifest.xml file that will work with the Google App Indexing service. You can then test and validate your app indexing code in Android Studio.
- GPU Debugger Preview: If you are developing OpenGL ES games or graphics-intensive apps, you have a new GPU debugger (in preview) in Android Studio 2.0. It can step through your app frame by frame to identify and debug graphics rendering issues with information about the GL state.
If you are using a previous version of Android Studio, you can get the latest version in the navigation menu (Help => Check for Update on Windows/Linux and Android Studio => Check for Updates on OS X). If you’re developing for the Android N Developer Preview, check out these instructions.