Debug Android
Debugging
● ADB command
● Debugging on Android Studio
○ System Log
○ Setting Breakpoint
○ Android Device Monitor
ADB(Android Debug Bridge)
● Versatile command line tool that lets you
communicate with an emulator instance or connected
Android-powered device.
● Also provides a Unix shell that you can use to run a
variety of commands on an emulator or connected
device
● http://developer.android.com/tools/help/adb.html
System Log
● 'Logcat' dumps a log of system messages
○ stack traces when throws an error
○ messages that you have written on app
● Use android.util.Log(String Tag, String msg) for input
message
Breakpoint
● Set breakpoint to debug on certain position
● Needs to run on ‘Debug’ mode
Breakpoint
Debugger
● With debugger, user can review
○ thread state
○ call stack
○ current values of variable
Android Device Monitor
● Stand-alone tool that
provides a graphical
user interface for
several Android
application debugging
and analysis tools.
Debug android

More Related Content

DOCX
التكليف الثاني
PPTX
Open gl introduction
PPT
Win avr presentation_2006
PDF
SELP: Debugging, AVDs and Manifests
PPTX
Android Native App & Web Test Strategy
PDF
Android internals 10 - Debugging/Profiling, Bluetooth/WiFI/RIL (rev_1.1)
PPTX
Android Mobile Application Testing: Human Interface Guideline, Tools
PPT
Android Debug
التكليف الثاني
Open gl introduction
Win avr presentation_2006
SELP: Debugging, AVDs and Manifests
Android Native App & Web Test Strategy
Android internals 10 - Debugging/Profiling, Bluetooth/WiFI/RIL (rev_1.1)
Android Mobile Application Testing: Human Interface Guideline, Tools
Android Debug

Similar to Debug android (20)

PDF
Android Logging System
PDF
Developing cross platform apps in Flutter (Android, iOS, and Web)
PDF
Developing Cross platform apps in flutter (Android, iOS, Web)
PDF
Android chapter02-setup2-emulator
PDF
Fight back android fragmentation
PPTX
Android chapter02-setup2-emulator
PDF
Unity3D Plugins Development Guide
PDF
lecture-2-android-dev.pdf
PPTX
PPTX
Creating Windows Runtime Components
DOCX
What is Android?
PDF
Hunting and Exploiting Bugs in Kernel Drivers - DefCamp 2012
PDF
Android App Development 01 : Getting Start
PDF
Inside Android's UI
PPTX
AGDK tutorial step by step
PDF
The Ultimate Android Security Checklist (Mdevcon 2014)
PDF
Android & IOS Automation
PPT
.NET Debugging Tips and Techniques
PPT
.Net Debugging Techniques
PDF
Lecture 3 (tool stick platform) rv01
Android Logging System
Developing cross platform apps in Flutter (Android, iOS, and Web)
Developing Cross platform apps in flutter (Android, iOS, Web)
Android chapter02-setup2-emulator
Fight back android fragmentation
Android chapter02-setup2-emulator
Unity3D Plugins Development Guide
lecture-2-android-dev.pdf
Creating Windows Runtime Components
What is Android?
Hunting and Exploiting Bugs in Kernel Drivers - DefCamp 2012
Android App Development 01 : Getting Start
Inside Android's UI
AGDK tutorial step by step
The Ultimate Android Security Checklist (Mdevcon 2014)
Android & IOS Automation
.NET Debugging Tips and Techniques
.Net Debugging Techniques
Lecture 3 (tool stick platform) rv01
Ad

Recently uploaded (20)

PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Benefits of Physical activity for teenagers.pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Architecture types and enterprise applications.pdf
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Unlock new opportunities with location data.pdf
PDF
Five Habits of High-Impact Board Members
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
observCloud-Native Containerability and monitoring.pptx
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Getting Started with Data Integration: FME Form 101
Benefits of Physical activity for teenagers.pptx
O2C Customer Invoices to Receipt V15A.pptx
WOOl fibre morphology and structure.pdf for textiles
Enhancing emotion recognition model for a student engagement use case through...
Hindi spoken digit analysis for native and non-native speakers
Architecture types and enterprise applications.pdf
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Zenith AI: Advanced Artificial Intelligence
Group 1 Presentation -Planning and Decision Making .pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
A review of recent deep learning applications in wood surface defect identifi...
Unlock new opportunities with location data.pdf
Five Habits of High-Impact Board Members
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
observCloud-Native Containerability and monitoring.pptx
Ad

Debug android

  • 2. Debugging ● ADB command ● Debugging on Android Studio ○ System Log ○ Setting Breakpoint ○ Android Device Monitor
  • 3. ADB(Android Debug Bridge) ● Versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. ● Also provides a Unix shell that you can use to run a variety of commands on an emulator or connected device ● http://developer.android.com/tools/help/adb.html
  • 4. System Log ● 'Logcat' dumps a log of system messages ○ stack traces when throws an error ○ messages that you have written on app ● Use android.util.Log(String Tag, String msg) for input message
  • 5. Breakpoint ● Set breakpoint to debug on certain position ● Needs to run on ‘Debug’ mode
  • 7. Debugger ● With debugger, user can review ○ thread state ○ call stack ○ current values of variable
  • 8. Android Device Monitor ● Stand-alone tool that provides a graphical user interface for several Android application debugging and analysis tools.