Google is now giving developers the chance to preview tons of new features in the Android Studio 2.0 Preview, which was just released earlier today. The big news with this updated preview build is speed, thanks to two new features Google is introducing to Android Studio: Instant Run and GPU Profiler. Let’s take a look at what these new features offer.
First up is Instant Run, which will allow you to quickly see your changes running on your device or emulator. All new projects in Android Studio 2.0 will already have the feature enabled. If you already have an app in Android Studio, head to Settings/Preferences > Build > Execution > Deployment > Instant Run. Once you click Enable Instant Run, you’re all set up. From there, click Run as normal and Android Studio will perform normal compilation and install steps. Pressing Run again will deploy your changes directly into the running application.
For a more detailed look at the new Instant Run feature, check out the video below:
Next up is GPU Profiler, which will make profiling your OpenGL ES Android code much easier. It will show you detail about the GL State and Commands, and will allow you to record your entire session and walk through the GL Framebuffer and Textures as your app is running OpenGL ES Code.
All of these new features are available now in the canary release channel, so Google is able to get your feedback. And since this initial release is a preview, Google suggests downloading and running an extra copy of Android Studio in parallel with your current version to make sure everything goes smoothly.