Nowadays a major number of Android developers are using Google’s own Android Studio integrated development environment (IDE). Just recently Google presented a first look at what Android Studio 3.0 is going to look like. In fact, most of these upcoming features are already out there in the early release channels of Android Studio.
Google has constantly been increasing its investment in Android Studio since the time it was launched four years ago. Meanwhile, this time around the theme of this release is “Speed & Smart.” This specifies the fact that IDE itself, it will be allowing developers to write their applications faster and will also assist them to profile their applications in a better way so as to enhance their speed as well.
Thus, it’s clear that Android Studio now has an entire string of advanced tools that allow developers to diagnose performance issues in their apps in a better manner. The developers will be able to profile CPU, memory and network activity for their apps and can witness the details on the timeline pertaining to key presses and occurred events.
So, here, let’s go into depth to find the key new features in Android Studio 3.0:
In this new version Android Studio 3.0, which is already released in the canary channel, you will find the Android Monitor window has made way for the alluded designed ‘Android Profiler.’
The new window is designed in a manner that it offers developers with insightful, unified views about all the relevant data related to their applications.
The Android Profiler has three different timelines – ‘CPU Profiler’, ‘Network Profiler’ and ‘Memory Profiler’. Each of them can be clicked for more comprehensive information. Now you can view the window by clicking View –Tools Windows – Android Profiler. Ultimately, you require selecting the particular app process and device. The ‘logical’ is going to be there in a different window.
Related Blog: Ok, You Got A Million Dollar App Idea, So What’s Next?
Support for Kotlin Programming Language
With IDE extends support for this new programming language Kotlin, developers will be able to add Kotlin code into their existing Android app. The built-in conversion tool is helpful in converting Java files into Kotlin file or developer can choose to develop a project using a Kotlin with the help of a new project wizard. As of now, Kotlin is among the most emerging programming languages, and its inception with Android Studio is certainly a big news.
Android Instant Apps garner a lot of attention, and now the new version of the IDE comes packed with enhanced support for the technology. New Module Wizard will be presenting app makers with an App Links Assistant, two separate modules (feature and instant) as well as a “modularized refactoring action“. The two modules will offer great help to Android developers in creating Instant Apps without any worries.
Better Layout Editor
In this new release, Layout Editor will be all the more advanced. There is going to be an advanced component tree with brilliant drag and drop view insertion along with a new panel for error. Further, the Layout Editor, in coordination with a Constraint Layout update also supports creating groups, view barrier, and improved chain creations.
Supports Java 8 Language Features
Android Studio allows access to a few features such as instant Run for projects with the Java 8 language features. The project can be updated to get the new Java 8 Language toolchain support. You simply require updating the source and Target Compatibility level to 1.8 in your Project Structure Dialogue.
Support for Android Things
You can begin the development on Android Things using a new template set in your new project wizard and the new Module wizard with the use of Android Studio 3.0. It allows you to enhance your knowledge of Android app development into the category of Internet of Things (IoT) device.
Faster build times
As put in by the director of product management for Google, Stephanie Saad, the official theme this time around for the Android Studio 3.0 update is ‘speeds and smarts’. The Gradle build timings have notably gone up. You can also notice the increase in speed build as you work on complex app projects (IDE has been tested by Google with projects having 100+ modules). The build time may vary from a few seconds to several minutes as per the precise nature of any app development process. All in all, Android Studio is going to be a faster IDE.
Adaptive Icon Wizards
Adaptive launcher icons presented by Android O appear in various shapes for various devices of Android. With the use of Wizards, you can create the new launcher icon assets that allows you to preview looks of adaptive icons on different launcher screen icon masks. It is also easier to create a new asset simply by right clicking on your mouse in the /res folder in the project and which allows you to then navigate into -> New -> Image Asser -> Launcher Icons (Adaptive and Legacy).
XML Fonts & Downloadable Fonts
In Android Studio, with the XML fonts preview and font selection tools, it becomes easier to add custom fonts in your Android O app. At the same time, it also allows for your app to create a downloadable font resource. With it, you can let go of the need to add a font resource in your APK. Simply ensure that your emulator or a device runs Google Play Services v11.2.63 or higher.
In earlier iterations of Android Studio, the maven dependencies of the support libraries of the IDE were stored within the SDK manager. However, this time around with version 3.0, the dependencies will be distributed from a separately created ‘Maven Repository’. The mobile app development experts assert that this repository is going to make the management of Continuous Integration builds way easier.
Android Emulator gets OpenGL ES 3.0
This new feature will enhance build speeds as well as make the app development lifecycle efficient and shorter. In the case of old emulator system images, there are major enhancements in OpenGL ES 2.0 graphics performance. Bug report generating is now simpler as well as there is a redesigned UI that is necessary for proxy settings.
The improved version of the Android Emulator makes the app testing process efficient and also keeps Google Play Services up-to-date.
Improved APK Debugging
With this version of the Android Studio IDE, you get latest APK Debugging functionalities. With developers having access to APK sources, they can be directly linked to the debug flow. It will also make the entire debugging process more high-fidelity. At the same time, this feature helps coders as they profile, analyze and debugs APKs.
Device File Explorer
With this latest device file explorer users can view the file and directory structure of emulator or your Android Device. As you test your app, you can also modify app data files and preview quickly in Android Studio.
This latest version of Android Studio 3.0 offers several opportunities for Android developers. Its new features are significantly useful in making development fast, efficient, build application powerfully as well as make the debug process convenient and a lot more.