Over a million developers have joined DZone.

Android Studio 2.0—It's Here!

DZone's Guide to

Android Studio 2.0—It's Here!

Android Studio 2.0 is officially live... so, what's new? Check out the highlights below for a fly-by view of features like Instant Run, the new emulator, and Cloud Test Lab.

· Mobile Zone
Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

It's official, Android Studio 2.0 is here!

Check out this quick video highlighting some of the major upgrades... 

And, for those of you who prefer to see it all laid out in bullet form... don't worry, I got you covered.

Feature Highlights

  • Instant Run - Android's solution for speedier edit, build, run cycles 

    • at the click of a button, Instant Run recognizes any changes made and determines the quickest way to deploy your new code
    • here's what the new buttons look like:Image title
    • strives to inject code changes into your running app process, avoiding re-deployment/re-installation of your APK—this is not always possible
    • requires API 14 (Ice Cream Sandwich) or higher 
  • Android Emulator - simulates a device and displays it on your development computer

    • now 3x faster in CPU, RAM, and I/O than the last Android emulator... 10x faster with ADB push speeds
    • generally faster than the actual device being emulated
    • here's what the new interface looks like:Image title
      • drag & drop APKS
      • resizable and scalable window
      • multi-touch actions (pinch & zoom, pan, rotate, tilt)
    •  requires SDK Tools update to 25.1.1 or higher
  • Cloud Test Lab Integration - allows for testing your app across a multitude of devices and device configurations at scale in the cloud  

    • meant to supplement initial testing on the emulator
    • provides the ability to run through a collection of tests on physical devices hosted in Google's data centers
    • here's what the interface looks like:Image title
  • App Indexing - helps promote visibility of your app in Google Search

    • offers the ability to create the correct URL structure in your app code and add attributes in your AndroidManifest.xml filed that will work with the Google App Indexing service
    • easy to test and validate indexing... which looks like this:Image title  
  • GPU Debugger Preview - uncover and diagnose GL rendering issues by capturing and analyzing the GPU stream from your Android device

    • offers frame-by-frame walkthrough to identify and debug graphics rendering issues
    • here's how it looks:Image title
  • IntelliJ 15 Update - further improved coding assistance for Java 8, Kotlin, Scala, JavaScript and across supported frameworks

And, of course, that's just the fly-over view. If you want the nitty gritty, check out the full documentation.

If you are ready to start working with Android Studio 2.0, then click here for the download. Or, if you're using a previous version of Android Studio, you can check for updates on the Beta channel from the navigation menu (Help → Check for Update [Windows/Linux] , Android Studio → Check for Updates [OS X]).


Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}