Android Studio improves support for machine learning


Google’s Android Studio IDE team has released the stable version of Android Studio 4.1, with machine learning improvements and a Database Inspector.

With version 4.1, Android Studio improves support for machine learning on the device by saving TensorFlow Lite models in Android projects. Android Studio generates classes so that models can run with better type security and less code. The Database Inspector, on the other hand, allows you to query an application’s database, whether the application directly uses the Jetpack Room library or the Android platform version of SQLite. Values ​​can be changed using the Database Inspector, with changes visible in applications.

Released on October 12 and accessible from developer.android.com, Android Studio 4.1 also makes it easier to navigate Dagger-related dependency injection code by providing a new gutter action and extending support in the Find Out window. uses. For example, clicking on the gutter action next to a method that consumes a given type takes you to where a type is used as a dependency.

Other features of Android Studio 4.1 include:

  • Templates in the Create New Project dialog now use Material Design components and by default conform to updated guidelines for themes and styles. These changes facilitate recommended material style templates and support UI features such as dark themes.
  • The Android emulator can now be run directly in Android Studio. This can save screen space and allow quick navigation between the emulator and editor window using keyboard shortcuts. Additionally, the emulator now supports foldable devices, with developers being able to configure foldable devices with a variety of designs and configurations.
  • Symbolization for native incident reports.
  • Updates to apply the changes allow for faster builds.
  • Android Studio memory profiler now includes a native memory profiler for applications deployed to physical devices running Android 10 or later. The Native Memory Profiler tracks object allocations and deallocations in native code for a specific period of time and provides information about total allocations and remaining segment size.
  • C / C ++ dependencies can be exported from AAR (Android Archive) files.
  • Android Studio profilers are accessible in a separate window from the main Android Studio window, which is useful for game developers.
  • System Trace user interface improvements.
  • 2,370 bugs were fixed and 275 public issues were closed.

Copyright © 2020 IDG Communications, Inc.


Comments are closed.