September 22, 2016

Android Studio 2.2 is the latest release of Google. It comes with lots of new changes, which is very useful to the developers around the world. Android Studio 2.2 includes supports for all the latest developer features in Android 7.0 Nougat, like code completion, which will help us for making the Multi-Window support, Quick Settings API, and the redesigned Notifications.
Along with this, Android Studio 2.2 has many more features, like as follows:

Layout Editor: With the new update we can quickly build layouts by dragging widgets into a visual design editor instead of writing the layout XML by hand.

Constraint layout: Now building an impressive layout is made easy with the Constraint layout. It’s similar to RelativeLayout in that all views are layed out according to relationships between sibling
views and the parent layout, but it is having more flexiblity than Relative Layout, and this is easier to use with Android Studio’s layout Editor.

Java 8 Language Support: While designing a layout in the previous version of our Studio, we have to make the API 23 then only the Preview of the layout was visible. But now this updated version of Studio is supporting Java 8.

Instant Run Improvements: In the previous version Instant Run was having some issues, like the one which I was having is, after running your build with Instant Run, sometimes the code was not having the effect on the new build.

Firebase Plugin: One of the major changes in the new version is the UI implementation of Firebase. Goto Tools, select Firebase and a list of options will come to you on the right hand side. Along with the single click implementation, this new version of Studio will give you a short template of every methods and many more.

Lint Check: Lint Check is now more advanced in this version of Studio.

Apk Analyzer: With the new version of Studio we can now have a look on insight into the composition of the apk. Along with this, we can compare the two apks.

apkanalyzed

Here, I pasted a sample snapshot of my apk, you can clearly view relative size of files in the apk. The APK Analyzer can also display various text and binary files. For instance, the resources.arsc entity viewer allows you to see the configuration-specific values such as specific language translations for a string resource.

However these are the major changes, there are still few of the changes which I didn’t explained in this document. In the next document, I’ll dive deeper on the changes one by one.