[THEME MUSIC]
MAYANK JAIN: Hello, everyone.
My name is Mayank Jain, and I'm a Product Manager
on the Android Studio team.
In this session, I'm going to talk
about how to address crashes in your app
very quickly and easily from within Android Studio.
High-quality apps have happier users.
Happier users engage more with your app,
which often results in more revenue in your app business.
One of the biggest sources of app quality problems
are crashes.
Apps that crash a lot have higher uninstall rates as
compared to apps that are running smoothly.
A highly reliable way to find crashes in your app
is Firebase Crashlytics.
It gives you a complete view in your app stability
with respect to crashes.
Firebase Crashlytics helps you to find and fix
the most critical crashes before they
start impacting a large number of users on production.
When using Firebase Crashlytics, this
is the usual crash-debugging workflow.
First, you discover a crash--
maybe when your users complain or via the Crashlytics Console.
Next, you switch to the browser, open
Crashlytics Console on Firebase, and look for this crash.
Uh-oh.
Looks like we have a crash in our network handling code.
Then you have to read and understand
where the crash originated in your code base,
memorizing the exact method or the line number,
and then quickly switching back in Android Studio,
opening the file to find that specific line before you forget
it.
If you forget the line number or need more information,
you're back in the Firebase Console
and have to repeat the process all over again.
Context switching is distracting, especially when
you're working on those important issues
or chasing tight deadlines.
So we had an idea.
Let's optimize the workflow and make it easier
for you to see crashes.
Let's bring crash reports from Crashlytics
directly inside Android Studio and highlight the exact lines
of code in your app which are causing
the crash to your users.
So we created App Quality Insights in Android Studio.
App Quality Insights' window has a lot of information, so
let's dive in.
It shows you the most impactful crash reports from Crashlytics
directly in Android Studio.
Notice now they're sorted by the number of impacted users,
so you know which crashes are most impactful to fix.
Clickable Stack Traces is one of my favorite features
of App Quality Insights as it directly
links into App's code base.
This helps you to narrow down immediately
the lines of code which are causing the crash in your app.
And because some crashes can be very device-specific,
App Quality Insights also shows you the most popular devices
on which this crash was observed.
If you want to narrow down the scope of crashes listed,
you can quickly filter by Crash Type, App Version, or even
Recency.
To catch potential crashes in the code you're already
working on, Android Studio highlights the lines of code
that are associated with known crash issues.
So you can quickly pull up those stack traces in App Quality
Insights to investigate.
Isn't this awesome?
Android Studio Electric Eel ships with the first version
of App Quality Insights.
Give it a spin, and let us know how you feel about it.
While this build of Android Studio is graduating to stable,
our team is already working on building the next version
of App Quality Insights.
So let's take a sneak peek.
First, we are making it easier for you
to collaborate with your team when squashing bugs.
With Notes, you can keep your team updated
with the latest status of your bug fix.
And when you are done, let your team know by closing the issue
right from Android Studio.
We are also making it easier for you to prioritize issues.
For example, select the Production
track only to see crashes from the latest stable version
of your app you just launched.
And Signals, a popular addition to Crashlytics Console,
is now also available in App Quality Insights.
Signals help you quickly identify
crashes that are fresh, early, repetitive,
or even a regression.
All of these new features in App Quality Insights
are available today in the Canary channel
with Android Studio Flamingo.
As always, your feedback helps us create the best developer
tools for you.
So please try out App Quality Insights today
by downloading the latest version of Android Studio.
We cannot wait to see how you use App Quality Insights
and Android Studio to build amazing crash-free apps that
delight your users.
Thank you.
[THEME MUSIC]