O'Reilly logo

Android Studio IDE Quick Reference: A Pocket Guide to Android Studio Development by Ted Hagos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

4. Debugging

Ted Hagos1 
(1)
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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required