© Ted Hagos 2019
Ted HagosAndroid Studio IDE Quick Referencehttps://doi.org/10.1007/978-1-4842-4953-6_4

4. Debugging

Ted Hagos1 
Manila, National Capital Region, Philippines
What this chapter covers:
  • Common errors you’ll encounter

  • Logging debug statements

  • Using the debugger

Dealing with errors is a big part of your life as a developer. This chapter will discuss the kinds of errors you’ve faced and will still face in the foreseeable future. You’ll see how you can use Android Studio to ease the difficulty of dealing with these errors.

Types of Errors

The three most common errors you’ll face in programming are
  • Syntax errors

  • Runtime errors

  • Logic errors

Syntax Errors

Syntax errors are exactly what you think they are: errors in the syntax. They happen because ...

Get Android Studio IDE Quick Reference: A Pocket Guide to Android Studio Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.