Keynote developer conference on 17th May 2017, was convened by Google, in it, it has also unveiled Android Studio 3.0. This is the latest version of integrated development environment (IDE), especially for the Android platform.
The latest Android Studio 3.0 is having special features such as Instant App development support, Android O development new Wizards, comprises Google Play Store in the Android O Emulator system images and several more. This Android Studio 3.0, the first canary release comprises more than 20 efficient features as follows:
This new version of Android Studio is aimed at accelerating the flow of app development and offer the best tools used to build Android apps. It has three key features such as a latest set of app performance profiling tools useful to diagnose the performance problems swiftly, for big sized app projects – boost Gradle build speeds and the Kotlin programming language support.
# Support for Kotlin Programming Language in Android Studio/Kotlin Language Conversion
As IDE extends support for this new programming language Kotlin, developers can add Kotlin code into their existing Android app. With the help of built-in conversion tool to convert Java file into Kotlin file or developer can also select to develop a project using a Kotlin with the help of a new project wizard. In the present day, Kotlin is one of the emerging programming languages and its inception with Android Studio becomes indeed a great announcement.
# Improved Layout Editor for Android Studio 3.0
Developer will find more advancement in the Layout Editor in this new release of Android Studio. One will get an advanced component tree having excellent drag-and-drop view insertion as well as a new panel for error. Moreover, in coordination with ConstraintLayout update, the Layout Editor also supports creating groups, view barriers as well as improves chain creations.
# Java 8 support in the Android Studio 3.0
Android Studio, developer can access to some features like instant Run for projects with the Java 8 language features.
# Android Things in Android studio 3.0
Using a new template sets into new project wizard and the new Module wizard using the Android Studio 3.0, developer can now initiate to develop on Android Things. It lets know knowledge of Android app development into the category of Internet of Things (IoT) device.
# Adaptive Icon Wizard
One can create a new asset just by right click mouse on the /res folder in the project and then navigate to -> New -> Image Asset -> Launcher Icons (Adaptive and Legacy).
# XML Fonts & Downloadable Fonts
In Android Studio, it becomes simple with the XML fonts preview and font selection tools to add custom fonts in Android O app. In addition, it also allows the app to create a downloadable font resource. It helps to avoid the need of adding a font resource in APK. One has to make sure that the emulator or a device is running Google Play Services v11.2.63 or higher.
# Update of IntelliJ Platform
Android Studio 3.0 Canary 1 that includes the Intellij 2017.1 release. It comprises several features including Java 8 language refactoring, semantic highlighting, parameter hints, enhanced version control search, draggable breakpoints, and many others.
# Instant App Support Android Studio 3.0
Instant app is basically lightweight apps that help users to run immediately without installing it. In order to support this, two new module types are introduced by Android Studio including instant app and feature. Developers can extend the app into an instant app by combining with the App Links Assistant and a new “Modularize” refactoring action. For using it, one need to use the New Module Wizard or you can right click on a class and navigate to: Refactor → Modularize.
#Build Speed Improvements in Android studio 3.0
This new release has focused mainly on improving speed of projects comprise many modules. In order to support future development and achieve speed enhancements, it has made breaking API changes to the Android Gradle plugin. Developer should make validate compatibility using the new plugin and migrate applicable APIs, if depended on APIs provided by the previous plugin. For testing it, in build.gradle file, update the plugin version.
#Google Play System Images in Android studio 3.0
With an update of Android Emulator O system image that include the Google Play Store, it makes possible to do end-to-end app testing with Google Play and also enables to keep Google Play services up-to-date in Android Virtual Device (AVD) more conveniently. As physical devices updates by Google Play services, the same updates can be triggered on AVDs.
# Google’s Maven Repository in Android Studio 3.0
Now the Android Support Library Maven dependencies become distributed outside of the Android SDK Manager as a brand new Maven repository. For developing with a Continuous Integration (CI) system, it enables Maven dependency management simple. Building CI becomes easy to manage with Google’s Maven Repository by using in combination with the command line SDK manager tool and Gradle.
#Android Emulator Get Support for OpenGL ES 3.0
In addition to improved build speeds, this new feature makes the app development lifecycle efficient and shorter. For old emulator system images, it offers significant enhancements in OpenGL ES 2.0 graphics performance. Bug report generating becomes simpler along with a redesigned UI require for proxy settings. The latest and improved version of the Android Emulator is helpful in making process for app testing efficient and keeping Google play Services up-to-date.
# Device File Explorer
The new device file explorer allows users to view the file as well as directory structure of emulator of the Android Device. With testing the app, one can also modify app data files and preview quickly in Android Studio.
# Improved APK Debugging
Android app developers who want to debug an APK without developing their project using Android Studio; it becomes possible to debug an arbitrary APK with this new version. It is very useful for those who had developed Android C++ code in some other development platform, but needs to debug and analyze the APK using the Android Studio. One can use this new APK debugging feature in order to analyze, profile and debug the APK, if debuggable version of APK is available.
# Significant Improvement in Layout Inspector
It makes easy to debug app layout issues. The improvement includes grouping of properties into common categories. In addition, search functionality in Properties Panels and the View Tree.
# APK Analyzer Improvements
The APK Analyzer comprises new significant features. In order to optimize the APK size with the help of analyzing Instant App zip files and AARs, view dex bytecode of classes and methods.
# Android Profiler
One will get real-time data for app’s memory, network and CPU activity as soon as deployment of app to an emulator or a running device using these new profiling tools. One can make sample-based process tracing to time your code execution, view memory allocation as well as capture heap dumps and inspect the network transmitted file details.
Android Studio 3.0 has created several opportunities for Android developers by offering several new features useful to make development fast, efficient, build application powerfully as well as make the debug process convenient and several more. Developers will benefit greatly from this version of Android Studio.