Android Studio 4.1 Canary 4 is now available in the Canary and Dev channels.
If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.
Native Memory Profiler
The Android Studio Memory Profiler now includes a Native Memory Profiler for apps deployed to physical devices running Android 10 or later. To learn more, see the release notes.
Use TensorFlow Lite models in Android Studio
ML Model Binding makes it easy for you to directly import .tflite model files and use them in your projects. Android Studio generates easy-to-use classes so you can run your model with less code and better type safety. For more information, see the release notes.
General fixes
This update includes fixes for the following public issues:C++ Build
- Issue #143411149: Syncing after any change to any Gradle file forces full rebuild of native code
- Issue #150530989: Lint crashes on kotlin elvis in 4.1.0-alpha01
- Issue #142590628: tools:locale="en" does not remove warnings
- Issue #151409564: Lint fails to detect MotionLayout Constraints
- Issue #151719769: Offer stable update versions of the Gradle plugin
- Issue #140955511: View binding build fail: Unresolved reference
- Issue #151317169: Missing nullability annotations on bind and inflate fields / return types
We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.