Android Studio 4.1 Is Now Available

Android Studio version 4.1 includes a new Database Inspector for querying an app’s database, support for navigating projects that use Dagger or Hilt for dependency injection, and better support for on-device ML.

Recently, Google released the stable version of Android Studio 4.1.
 
Android Studio 4.1 brings a set of new features and enhancements addressing common editing, debugging, and optimization use cases. The company has made a number of improvements to the code editing experience with IDE integrations for popular Android libraries.
 
The 4.1 version includes a new Database Inspector for querying an app’s database, support for navigating projects that use Dagger or Hilt for dependency injection, and better support for on-device ML with support for TensorFlow Lite models in Android projects.
 
 
The Android team has also made updates to Apply Changes to make deployment faster. There are also several changes to help game developers with a new native memory profiler and standalone profiling tools.
 
The team said that during this release cycle they have fixed 2,370 bugs and closed 275 public issues.
 
New Database Inspector makes it easier to inspect, query, and modify your app's databases. Ypu will need to deploy your app to a device running API level 26 or higher and select View > Tool Windows > Database Inspector from the menu bar. Database Inspector allows you to easily inspect databases and tables in your running app or run custom queries.
 
Since Android Studio maintains a live connection while you’re inspecting an app, users can also modify values using the Database Inspector and watch those changes in their running app.
 
Starting with the release of Android Studio 4.1, users can now run the Android Emulator directly in Android Studio. This will allow you to conserve screen real estate, to navigate quickly between the emulator and the editor window using hotkeys, and to organize your IDE and emulator workflow in a single application window.
 
For more details, you can visit the official announcement here.


Next Recommended Reading Node.js 4.1 Is Available Now