O'Reilly logo

Mobile DevOps by Jhalak Modi, Rohin Tak

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

Android debug log

As mentioned in previous sections of this chapter, we have seen how to use the Console.WriteLine() method to write some output steps while debugging in Visual Studio.

However, on a mobile platform like Android, there is no console and it is only available for us during debugging in Visual Studio. Android devices provide a log that you can utilize while coding Android apps. This is also known as logcat due to the command used to retrieve this log.

To access this from Visual Studio, follow these steps:

  1. Either you can directly click on the Device Log (logcat) icon from the Android tools in the toolbar, or you can go to Tools | Android | Device Log:
  1. This will open a new window where you can choose the device your application ...

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