Google Introduces Android Studio Preview 2.0

 Google announces Android Studio 2.0 preview, at the Android Dev Summit. It comes with Instant Run, a faster Android emulator, and a new GPU profiler.
 
Google in their blog states,
 
“One the most requested features we receive is to make app builds and deployment faster in Android Studio. Today at the Android Developer Summit, we’re announcing a preview of Android Studio 2.0 featuring Instant Run that will dramatically improve your development workflow. With Android Studio 2.0, we are also including a preview of a new GPU Profiler.”
 
The latest version is still not available to all developers; however, you can download the preview version of this app from Canary channel.
 
The new Instant Run feature of this app allows you to see the changes running on your device or emulator. Getting the app started is simple and easy. When you are creating a new project with Android Studio 2.0, your project is automatically set up. However, if you have a pre-existing app open settings or preferences, then you will need to go to Build, Execution, Deployment and then Instant Run. Click on the option of Instant Run. This will ensure that you have the right gradle plugin for your project to work with Instant Run.
 
 
Image Source: android-developers.blogspot.in
 
When you are working on a project, you need to select Run as normal, and Android Studio will perform normal compilation, packaging as well as installing, while the app is running on your device or emulator. After editing your source code, you will need to press Run again. This would help in deploying the changes which have been made directly into the running app. For more details check on the Android tool project site.
 
Profiling the OpenGLES Android code is now simpler, with the new GPU Profiler in Android Studio. This tool is extremely powerful; it not only shows details of the GL State and Commands.
 
 
Image Source: android-developers.blogspot.in
 
Google states,

“Profiling your OpenGL ES Android code is now even easier with the GPU Profiler in Android Studio. The tool is in early preview, but is very powerful and not only shows details about the GL State and Commands, you can record entire sessions and walk through the GL Framebuffer and Textures as your app is running OpenGL ES Code.”