Android Debugging by Tutorials: Learn to Debug Real World Android Apps
- Length: 263 pages
- Edition: 1
- Language: English
- Publisher: Razeware LLC
- Publication Date: 2022-08-16
- ISBN-10: 1950325725
- ISBN-13: 9781950325726
- Sales Rank: #1177561 (See Top 100 Books)
Learn about Debugging Android Apps
The debugging process is one of the main parts of app development. If you want your app to become a high-quality product, you’ll need to take care of any noticeable issues. But, sometimes it’s challenging to find the source of the issue, or you don’t have enough information to solve it. In most cases, the official documentation isn’t really helpful because every app is unique.
Android Debugging by Tutorials is here to help you find a solution faster and easier by introducing you to Android debugging tools.
Who This Book is For
This book is for intermediate Android developers who already know the basics of Android development and Kotlin but want to learn about debugging steps and Android Studio debugging tools.
Topics Covered in Android Debugging by Tutorials
- Android Debug Bridge: Learn how to connect the debugger with your Android device.
- Breakpoints and Code Evaluation: Find out how to pause a running app in a specific place and inspect the code.
- Reading stack traces: Learn where to look for more details about app crashes.
- Debugging databases and background tasks: Deal with database bugs and issues on background threads.
- CPU activity and memory usage: Specialize in observing CPU timelines and memory management.
- Network activity and Energy Profiler: Learn to clone API calls for debugging purposes and handle battery draining efficiently.
One thing you can count on: after reading this book, you’ll be prepared to detect issues, find out more information about the issue culprit and successfully fix it. You’ll solve issues faster than before and save more time for developing new features.
What You Need Book Source Code & Forums Dedications About the Team About the Authors About the Editors Introduction How to read this book Chapter 1: Getting Started Debugging Connecting the Debugger Capturing Device Data Android Debug Bridge Challenges Key Points Where to Go From Here? Chapter 2: Navigating Your Code With Breakpoints Setting Your First Breakpoint Becoming Acquainted With the Debug Window Conditional Breakpoints Code Conditional Breakpoints Breakpoints Window Using Breakpoints to Log Information Key Points Where to Go From Here? Chapter 3: Logcat Navigation & Customization Breaking Down the Logcat Window Adding Custom Logs Filtering and Customizing the Logcat Window Using Logs to Fix a Bug Challenge Key Points Where to Go From Here? Chapter 4: Analyzing the Stack Trace Defining Stack Trace Reading a Stack Trace Catching and Rethrowing Errors Firebase Crashlytics Analyzing External Stack Traces Challenge Key Points Where to Go From Here? Chapter 5: Watches & Evaluating the Code Exploring The Variables Pane Evaluating Code Augmenting Code Key Points Where to Go From Here? Chapter 6: Layout Inspector Running the Layout Inspector Refreshing the Layout Inspector Isolating a View Condensing Layouts With ConstraintLayout Confirming Changes With the Layout Overlay Exporting a Layout Inspector Snapshot Validating Layouts Challenge Key Points Where to Go From Here? Chapter 7: Debugging Databases Searching for The Data The Database Inspector Previewing Database Observing Live Updates Querying Your Databases Exporting Data from the Database Inspector Key Points Where to Go From Here? Chapter 8: Debugging WorkManager Jobs With Background Task Inspector Starting the Background Task Inspector Viewing and Inspecting Workers Extracting Work Details Navigating Through Works Practical Example: A Simplified Work-Chain Key Points Where to Go From Here? Chapter 9: Profile CPU Activity The CPU Profiler Traces Recording Traces Inspecting Method Traces Inspecting System Traces System Trace Formats Inspection With Perfetto UI Challenge Key Points Where to Go From Here? Chapter 10: Profile Memory Usage Android Memory Management 101 Overview of Memory Profiler Tracking Memory Allocations Memory Churn And Memory Leaks Identifying and Improving Memory Performance: Detecting Memory Leaks Key Points Where to Go From Here? Chapter 11: Profile Network Activity The Network Inspector Inspecting Details Tracing Unusual Network Traffic Key Points Where to Go From Here? Chapter 12: Android Energy Profiler Overview of The Energy Profiler Android Energy Management 101 Inspecting and Optimizing Energy Consumption Best Practices for Energy Management Key Points Where to Go From Here? Conclusion
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.