Google launched the latest Android Studio 3.2 version at Google I/O 2018 that contains some existent features of Android Pie and Android App bundle along with some 20 new features. A wide set of tools are included in Android Studio 3.2 that support Jetpack from Navigation Editor using Navigation API and Android Slices API templates. Android Studio 3.2 will develop an innovative Android App Bundle to be published on Google Play.
Below we have given the pivotal features of Android Studio 3.2
Energy profiler assists developers in tracing the energy consumption of apps and also efficiently manages the apps power consumption in different situations. It helps to boost the energy of your app with the help of some tools.
Material Design Update
If you migrate from Android Design support library to the app theme ‘Material Components’ you will be able to access updated widgets like BottomAppBar, cards, buttons, font styles, Text fields etc.
This feature allows the developer to use placeholder data that would promptly help in designing the app. The layout design can be visualized relying on runtime data. Built-in sample data can also be attached through a pop-up window in Layout Editor like ImageViews and RecycleViews.
A new Slices support built-in template helps to extend your app in Google Assistant and Google Search. The new Slice Provider API along with lint checking is convenient to go for app expansion. To use it you need to right click on the project folder navigating through New -> Other ->Slice Provider
Android Emulator Snapshots
Google introduced Android Emulator Snapshots for developers to capture a snapshot of the present state of emulator booting up into a snapshot in as little as 2 seconds. Android snapshots have been built on the Quickboot feature so are quicker to save or load due to their speed enhancements.
AndroidX Refracting Support
A new component of Android Jetpack is the introduction of AndroidX that can substitute the Android Support libraries. If you want to use AndroidX for a project you are required to add &ndash use AndroidX=true to Gradle.properties file. Another option is the built-in refactoring action if you want to take your project to new dependencies.
Android App Bundle
Google&rsquos Android App Bundle was designed to deliver smaller APKs for users so that the apps downloading size is reduced. Another Dynamic model developed by Google helps to process the app bundle along with developing and delivering optimum APKs for the configuration of the user’s device. This feature of Android Studio 3.2 allows you to build a code as an app bundle via the ‘Command Line’ to get the convenience of smaller APKs built on screen density, a language without any change in your app code.
Kotlin 1.2.61 brings considerable support to Kotlin friendly Android 9Pie SDK
Microsoft-Hyper V Support
On Windows 10 computers the Android Emulator can only run if they are Hyper V enabled. The Intel HAXM is supposed to be the fastest Android Emulator being a default hypervisor. Microsoft has now become an open source contributor. If the Windows Hypervisor platform API is added to it, it is easy for the Android Emulator to exist with Hyper V backed applications just like Virtual Machines that use the Hyper-V Support
Some earlier Android models could not use the Java language. D-8 Desugaring gets turned by default allowing this feature to be implemented on old phones. For this, the new Language APIs and bytecodes have replaced the old ones while building the apps. Now the latest languages can be used on all older phones.
R8 is still undergoing trials so it is recommended not use it for app publishing although Android Studio 3.2 has employed it as a substitute for ProGuard for optimization of Java language bytecode.
AMD Processor Support
Android Emulators on Windows 10 support AMD processors. Earlier Android Emulators on windows ran only on slow software but now developers armed with AMD processor can expect hardware-accelerated performance.
Virtual Screen Camera for Android Emulator
Google’s platform ARCore has made developing and testing apps very easy with Virtual Scene Camera with the help of Augmented Reality in a virtual environment. The Emulator for AR apps can work with APCode APIs allowing you to use bitmap images of virtual scenes. The virtual scene camera can replace the HAL3 compatible camera.
Screen Record in Android Emulator
The new screen record feature of Android Emulator can now record audio and screen on the Android API level. Moreover, screen recording without audio is possible with the latest Android Emulator on a physical Android device and also on Android KitKat 4.4. Another bonus feature is the built-in conversion for GIF & WebM.
ADB Connection Assistant
Any form of troubleshooting in your Android ADB device can be solved by a new assistant system of Android Studio 3.2. The ADB Connection Assistant besides resolving your Android device connection issues can also prove to be of assistance for navigation of tools and for the Run dialogue box.
This new feature of Android Studio 3.2 lets you observe the interaction of your app with system resources in detail. Inspect and analyze the exact time and duration of thread states, visualizing CPU bottlenecks across cores. You can do this by profiling your app, clicking the CPI profiler and lastly selecting the System Trace configuration for recording.
Automatic CPU Recording
The Debug API is used for automatically recording of CPU activity. Once the app has been deployed the profiler will instantly start recording when the app says ‘StartMethodTracing’ and will stop recording with the command ‘StopMethodTracing’
With your, Android Studio open you can save Profiler automatically so that you can visit it and inspect it at a later time. Even CPU recordings can be exported & imported for later analysis along with other tools.
JNI Reference Tracking
If your Android App has e C/C++code, the memory allocations of the JNI Code can be inspected in the Memory Profiler. You can use the JNI reference as long as your Android device is 8.0 Oreo or above by deploying your app.
IntelliJ Platform Update
The IntelliJ Platform release is included in Android Studio 3.2 with features like data flow analysis, new code analysis and partial GIT support.
Go ahead and download the new Android Studio 3.2 but ensure that you update to Android Studio Canary to 14 and above.