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

Events

Why experience is the new battleground for partners

Join us for an exclusive webinar, in association with Hewlett Packard Enterprise and Technology Services Industry Association (TSIA) and learn about the latest industry insights and how technology services continue to evolve to deliver differentiated value, and how partners can be successful in 2021 and beyond.

Featured

Slideshows

Channel kicks 2021 into gear as After Hours returns to Auckland

Channel kicks 2021 into gear as After Hours returns to Auckland

After Hours made a welcome return to the channel social calendar with a bumper crowd of partners, distributors and vendors descending on The Pantry at Park Hyatt in Auckland to kick-start 2021.

Channel kicks 2021 into gear as After Hours returns to Auckland
The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards

Hundreds of leaders from the New Zealand IT industry gathered at the Hilton in Auckland on 17 November to celebrate the finest female talent in the Kiwi channel and recognise the winners of the Reseller News Women in ICT Awards (WIICTA) 2020.

The Kiwi channel gathers for the 2020 Reseller News Women in ICT Awards
Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards

The leading female front runners of the New Zealand ICT industry joined together for the annual Reseller News Women in ICT Awards event at the Hilton in Auckland, during which hundreds of guests celebrated 13 outstanding individuals who won awards, chosen from more than 50 finalists representing over 30 organisations.

Leading female front runners honoured at the 2020 Reseller News Women in ICT Awards
Show Comments