Versions of Android Studio 3.2 with Android App Bundle, Energy Profiler and more!


[ad_1]

Yesterday, Google announced the stable release of Android Studio 3.2 with a variety of new features and improvements. This version comes with over 20 features including Android App Bundle, Energy Profiler, and Android Emulator Snapshots.

What’s new in Android Studio 3.2

Android application set

With Android App Bundle, the new app publishing format, you can deliver smaller APKs to your users and reduce your app download size. Once Google Play has your app bundle, it uses an app delivery model named Dynamic delivery. This delivery template processes your app bundle to generate and deliver APKs optimized for each user’s device configuration.

This eliminates your efforts to create, sign, and manage multiple APKs to support different devices, and users get smaller, more optimized downloads. Android Studio 3.2 provides you with a CLI, using which you can easily create your code as an app bundle.

Energy profiler

Battery life is one of the main concerns for users, so it is important to check your app’s power consumption. Energy Profiler helps you find where your application is consuming more power than needed.

With the Energy Profiler, you can view the estimated energy consumption of system components, as well as inspect for background events that can lead to battery drain. To use it, make sure you are connected to an Android device or emulator running Android 8.0 Oreo (API 26) or higher.

Support for slices

Slices are user interface templates that can be used to display rich, dynamic, and interactive content from your app in Google Search Suggestions and the Google Assistant. Built-in templates are available to help you extend your application with the new slice provider APIs.

You can also do stuffed toy Checks that you are following best practices when building Slices. To start building your Slices, right click on your project folder and navigate to New | Other | Slice supplier.

Sample data

You can now add sample data to a Display, a Image view, or one RecyclerSee from the layout editor. This will make it easier for you to visualize the appearance of a layout when designing your application.

“What’s new” assistant

This newly added wizard panel automatically informs developers of the latest changes to the IDE. You can also open the panel by navigating to To help | What’s new in Android Studio.

AndroidX refactoring support

You can now add the Android extension (AndroidX) in a new project by adding the following line in your gradle.properties to file:

android.useAndroidX=true

To help you migrate your project to the new namespace and new dependencies, Android Studio 3.2 offers you a new built-in refactoring action. Additionally, the Android Studio build system will automatically convert any Maven dependencies that have not migrated to the AndroidX namespace. With Android Studio 3.2 and later, you can quickly migrate an existing project to use AndroidX by selecting Refactor > Migrate to AndroidX from the menu bar.

Updating the IntelliJ platform and Kotlin

Android Studio 3.2 comes with IntelliJ platform version 2018.1.6 and Kotlin 1.2.61. Many improvements in data flow analysis, debugging, new inspections have been added to this version of IntelliJ. Kotlin 1.2.61 supports Android 9 Pie SDK compatible with Kotlin.

Emulator snapshots

With the latest Android emulator, you can take a snapshot of the current state of your emulator, start up and switch to any snapshot in under 2 seconds. In Android Studio 3.2, Android Snapshots are even faster to save and load due to the underlying speed improvements.

Using Android Snapshots, you can preconfigure an Android Virtual Device (AVD) with the presets, apps, data, and settings you want in place, and come back to the same snapshot repeatedly.

Support for Microsoft Hyper-V and AMD processors

Google has finally responded to this longtime user request from the Android developer community. You can now run the Android emulator on Windows 10 computers with Hyper-V enabled, while Intel HAXM remains the default hypervisor. AMD processor support is added to provide developers with hardware-accelerated performance.

Screen recording in Android emulator

With the new screen recording feature in Android emulator, you can now perform screen and audio recording on any Android API and save this recording as a WebM or animated GIF file. You can enable this feature through the Extended Controls panel of the Android emulator, the command line, or from Android Studio.

These are just a few of the features they added, and there is more to explore. You can find the full list on Android Developer Blog.

Read more

Entry-level phones to taste the Go edition of the Android 9.0 Pie version

Did you know that your inactive Android device sends data to Google 10 times more often than an iOS device to Apple?

6 common challenges faced by Android app developers

[ad_2]

Comments are closed.