# What are the new features in Android Studio Quail 2?

## Executive summary

Android Studio Quail 2 introduces significant updates aimed at unifying and accelerating the development and debugging cycle. Key enhancements include parallel multitasking for agentic tasks via Gemini, direct integration of Leak Canary into the Android Studio profiler for faster memory leak detection, and integrating App Quality Insights to analyze production crashes, suggest fixes across multiple files, and deploy those fixes for verification.

## Key takeaways

- Multitasking with Parallel Agents: The Gemini app agent mode has been redesigned to allow users to initiate, run, and manage multiple agentic tasks simultaneously across different chats, eliminating the need to wait for one task to complete before starting another.
- Built-in Memory Leak Detection: The Leak Canary library is now built directly into the Android Studio profiler. This streamlines memory leak detection, making it faster and easier to identify issues without slowing down test devices.
- App Quality Insights Integration: Android Studio can now analyze production crashes using App Quality Insights. It has the ability to fix complex, multi-file crashes and deploy those fixes to an emulator for verification.

## Technical details

- Memory Leak Detection: The dedicated Leak Canary library is integrated directly into the Android Studio profiler, providing a faster and less disruptive method for identifying memory leaks.
- AI-Assisted Debugging: When a leak is detected, 'fix with helps' assists in understanding the issue and accelerating resolution. Furthermore, App Quality Insights allows users to select an issue for a quick summary, ask follow-up questions, and use 'fix with AI' to apply code changes.

## Practical implications

- Accelerates the debugging cycle by centralizing development and troubleshooting tasks within a single workspace.
- Improves build quality assurance by enabling automated analysis and fixing of complex, production-level crashes (App Quality Insights).
- Reduces manual friction in testing by integrating advanced tools like Leak Canary directly into the profiler.

## Topics

Android Studio Quail 2, Gemini App, Agent Mode, Memory Leak Detection, App Quality Insights, AI Debugging, Google Developers

Source: https://www.youtube.com/watch?v=wjy2q43TsTk
