Let's walk through using the debugger in Android Studio, to familiarize ourselves with this process and make future bugs easier to track down and address. It allows us to monitor our application in real time, and can provide additional insight regarding a connected device or emulator. Similar in name, the Android Studio version is also called the debugger. Android Studio 4 or newer installed Android SDK 29 and Android Tools. Below is the diagram of the Android Emulators high-level architecture. ![]() The AVD contains the full Android software stack and it runs as if it were on a physical device. ![]() It can pause code, allow us to walk through code line-by-line, check what variables are, and more. The Android Emulator runs the Android operating system in a virtual machine called an AVD. ![]() This process is similar to using the console.log() method we learned in JavaScript, but with a few expanded options and functionalities.ĭo you remember using the JavaScript console and debugger in Intro to Programming and JavaScript? Android studio also offers a feature like this to assist in tracking down bugs and other issues. In the last lesson we learned about the Android Studio logcat, and how to record information to it using various Log methods.
0 Comments
Leave a Reply. |