Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - How to output logs in Logcat of android?
How to output logs in Logcat of android?
Add log.i ("mark ","what to print ") to the code;

So you can see what you want to print in logcat.

Learn recommended weapons for Android:

Android learning manual, which has the source code. The android Learning Manual contains 9 chapters and 108 examples. Just look at the source documents, and the examples are interactive and operable. The source code adopts the directory structure of android studio, and the code is highlighted. Documents are displayed through the document structure diagram, which can be quickly located. Download from 360 mobile assistant, there are shells on the icon: