10

Beginning Android Debugging [SUBSCRIBER]

 4 years ago
source link: https://www.raywenderlich.com/9261991-beginning-android-debugging
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Beginning Android Debugging

Debug on Android

1:15 Free

Learn about all the tools that will help you debug your app such as log statements, the emulator and the layout inspector.

The Android Profiler provides you with real time data that helps you measure how your app uses important resources such as the memory, cpu, network and battery.

In this episode, learn how to use the stack trace to inspect your code and figure out which line of code is causing the app to crash.

Learn how to create log statements using the Log class. Create logs with different levels of importance, such as warnings or errors.

Sometimes bad things will happen and your app will crash. Learn how stack trace helps you navigate to the exact line of code that caused a crash, and how to create different breakpoints to help you inspect your code step by step at runtime.

The layout inspector allows you to display a magnified view of your app and to examine details of your layouts at runtime.

In this episode, learn how to read and create bug reports using the Android emulator.

Debugging an app by yourself is useful, but it is even more useful to get feedback from real-world users. Learn how to get crash reports from your users using reporting features of the Google Play Console.

In this episode, create a new Firebase project and add the appropiate dependencies to your app.

Firebase crashlytics is a lightweight library that gives comprenhensive realtime crash reports in the firebase console. Learn how to add crashlytics to your app and to analyze the information retrieved.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK