2 min Devops

Android Studio 4.1 brings better TensorFlow Lite support

Android Studio 4.1 brings better TensorFlow Lite support

Google launched Android Studio’s 4.1 version. As is the norm for Android Studio, the small uptick in version number does not quite capture the update’s scope. Included in the new version are improved features geared toward making developers have an easy time working.

The team fixed over 2,370 bugs during the release cycle and closed 275 public issues, which is a tremendous amount of work.

The highlights of Monday’s release are a database inspector and support for on-device machine learning, by allowing developers to incorporate TensorFlow Lite models and run the Android Emulator inside the Studio.

Developers can test apps for foldable phones in the Emulator as well.

Convenience and efficiency

One of the features that will improve developers’ quality of life is running the Emulator in the Studio. This feature’s announcement was made in the summer and didn’t come as a significant surprise, but it is welcome.

Now, developers will not be forced to switch back and forth between different tools or windows to test their apps.

Another thing about testing is that foldable devices apps can now be tested on the Android Emulator. The developers can simulate the posture changes, so apps react appropriately and account for the hinge angle sensor.

The other features

TensorFlow Lite models’ support is now improved, allowing developers to bring those models to their apps. The database inspector is a tool that will help developers gain insights into their queries and that data they return, to modify values while running the apps to see reactions instantly.

Other updates are System Trace UI improvements, New Project dialog that supports Google Material Design Components, new profilers to help developers optimize apps, and Dagger navigation support.

Convenience appears to be the name of the game, and the developers will thank Google for it.