Debugging and Testing

Murat Yener, Onur Dundar · 2016

This chapter covers debugging and testing Android projects using Android Studio and SDK tools. It starts by discussing debugging and the underlying technology, Android Debug Bridge (adb), which allows a user to remotely debug Android devices. The chapter continues with Android Monitor in Android Studio, which is used for better monitoring and system information capturing. Next, it looks at the Android Device Monitor for further Android device and application monitoring, and at legacy tools. When debugging starts successfully, the Debug window is enabled and it displays the progress of the apk installation on the device. During the debugging, the user always needs to watch the stack and threads to see what is changing and whether he/she is getting the expected behavior or value of the objects. Android Monitor is used to trace memory, CPU, and GPU usage, as well as network activity.

Read the paper · More papers on PaperTik