Android Studio 2 In Preview
Wednesday, 25 November 2015

Soon after the release of Android Studio 1.6 to the stable channel, Google is showing off what a full version 2.0 will look like. 

androiddevicon

At long last Google seems to be taking our complaints about the speed of the emulator seriously. Perhaps it is just because Microsoft has caused some embarrassment by offering a free Android emulator that is fast on x86 machines without any help from the Intel HAXM driver.

However, you can't get your hands on the new faster emulator just yet as it isn't part of the Android Studio 2.0 download. It does look fast in the video, but another issue is how long it takes to load which is not made clear.

 

android2deploy

 

It is claimed that the emulator is more than 10 times faster than the old emulator and even faster than a physical device for deployment. 

The emulator's UI has also been redesigned and you can now do things that used to need command line options in the UI. You can also drag and drop an apk directly into the emulator and make use of Google Play services. Also new is the ability to interactively resize the emulator.  

 

 

The second big new feature is "instant run". What this seems to do is keep track of the files that you have changed and only downloads the changes to the apk file in the emulator. In many cases the app can continue to run while the program files are upgraded. In most cases code changes can be viewed in one to two seconds. 

instantrun

There isn't anything much you have to do to take advantage of Instant run other than enable it. The idea may be a simple one, but doing it correctly is difficult. There is a substantial list of changes that you can make to make to your code that will defeat instant running and a smaller list that requires a restart of the Activity. In the future the list of code changes that instant run supports will be increased. 

 

Even without instant run Google claims that build time has been improved and is now at least twice as fast. 

 

gpu

 

The second big new feature is a GPU profiler. You can use it to tune your games and other graphics-based apps by recording entire sessions and walking through the GL Framebuffer and textures.  

Other new features include an update to using IntelliJ 15, enhanced testing support and support for Google Search deep linking. 

 androids2

More Information

Android Studio 2.0 Preview

Related Articles

Android Studio 1.5 Released - Just Some Bug Fixes, Don't Get Excited

Visual Studio V Android Studio

MarshMallow Is Coming!

Android Studio 1.3 Released

Android Data Binding - Say Goodbye To FindViewById    

Android M - Still No Name But An SDK Update And NDK Support       

Google Drops Support For Eclipse - It's All Android Studio Now       

Android Adventures - Getting Started Creating A UI

Android Adventures - Mastering Fragments

 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin

 

Banner


Rust And C++ Should Be Friends?
20/11/2024

The Rust Foundation has just released a statement on Rust and C++ interoperability and Google is ponying up $1 to see that it gets done.



IBM Opensources AI Agents For GitHub Issues
14/11/2024

IBM is launching a new set of AI software engineering agents designed to autonomously resolve GitHub issues. The agents are being made available in an open-source licensing model.


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Wednesday, 25 November 2015 )