Menu
Android Studio improves machine learning support

Android Studio improves machine learning support

Android Studio 4.1 highlights include a database inspector and easier import of TensorFlow Lite models into Android apps

Credit: Dreamstime

Google’s Android Studio IDE team has released the stable version of Android Studio 4.1, featuring machine learning improvements and a database inspector.

With the 4.1 release, Android Studio improves on-device machine learning support via backing for TensorFlow Lite models in Android projects. Android Studio generates classes so models can be run with better type safety and less code.

The database inspector, meanwhile, enables querying of an app’s database, whether the app uses the Jetpack Room library or the Android platform version of SQLite directly. Values can be modified using the database inspector, with changes seen in apps.

Introduced 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 Usages Window. For example, clicking on the gutter action next to a method that consumes a given type navigates to where a type is used as a dependency.

Other capabilities in Android Studio 4.1 include templates in the create New Project dialog now use Material Design Components and conform to updated guidance for themes and styles by default. These changes make it easier to recommended material styling patterns and support UI features such as dark themes.

Android Emulator now can also be run directly in Android Studio. This can conserve screen real estate and enable navigation quickly between the emulator and editor window using hotkeys. Also, the emulator now supports foldables, with developers able to configure foldable devices with a variety of designs and configurations.

In addition, symbolification for native crash reports is available; updates to Apply Changes allow for faster builds and the Android Studio Memory Profiler now includes a Native Memory Profiler for apps deployed to physical devices running Android 10 or later.

The Native Memory Profiler tracks allocations and deallocations of objects in native code for a specific time period and offers information about total allocations and remaining heap size.

Rounding off the changes, C/C++ dependencies can be exported from AAR (Android Archive) files; Android Studio Profilers can be accessed in a separate window from the primary Android Studio window, which is useful for game developers; System Trace UI improvements are on offer and 2,370 bugs were fixed and 275 public issues were closed.


Follow Us

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags GoogleAndroidmachine learning

Brand Post

What to expect from your IT Distributor

Whether you’re just starting out or you’ve been around since before the dot com rollercoaster, choosing the right distribution partner can be a pivotal factor in your success. This definitive guide outlines the traits that every IT partner needs to look for in their IT Distributor.

Featured

Slideshows

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners

This year’s Reseller News 30 Under 30 Tech Awards were held as an integral part of the first entirely virtual Emerging Leaders​ forum, an annual event dedicated to identifying, educating and showcasing the New Zealand technology market’s rising stars. The 30 Under 30 Tech Awards 2020 recognised the outstanding achievements and business excellence of 30 talented individuals​, across both young leaders and those just starting out. In this slideshow, Reseller News honours this year's winners and captures their thoughts about how their ideas of leadership have changed over time.​

Meet the Reseller News 30 Under 30 Tech Awards 2020 winners
Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security

This exclusive Reseller News Exchange event in Auckland explored the challenges facing the partner community on the cloud security frontier, as well as market trends, customer priorities and how the channel can capitalise on the opportunities available. In association with Arrow, Bitdefender, Exclusive Networks, Fortinet and Palo Alto Networks. Photos by Gino Demeer.

Reseller News Exchange Auckland: Beyond the myths — how partners can master cloud security
Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomes industry figures at 2020 Hall of Fame lunch

Reseller News welcomed 2019 inductees - Leanne Buer, Ross Jenkins and Terry Dunn - to the fourth running of the Reseller News Hall of Fame lunch, held at the French Cafe in Auckland. The inductees discussed the changing face of the IT channel ecosystem in New Zealand and what it means to be a Reseller News Hall of Fame inductee. Photos by Gino Demeer.

Reseller News welcomes industry figures at 2020 Hall of Fame lunch
Show Comments