© Ted Hagos 2018
Ted HagosLearn Android Studio 3 https://doi.org/10.1007/978-1-4842-3156-2_9

9. Debugging

Ted Hagos1 
(1)
Manila, National Capital Region, Philippines
 

The examples we’ve been working on so far haven’t been very complex; this is an introductory book on Android programming using AS3 after all, but soon enough your code will grow bigger and more complex. As that happens, the chances introducing errors into your code increase and they will become harder to spot.

There are a couple of ways (and tools) to debug a program: deciding which one to use depends on what kinds of error you are trying to troubleshoot. Having said that, let’s try to go over some the most common errors you will encounter.
  • Syntax errors . These are produced by the ...

Get Learn Android Studio 3: Efficient Android App Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.