Why doesn't “System.out.println” work in Android?

前端 未结 11 831
轮回少年
轮回少年 2020-11-22 07:55

I want to print something in console, so that I can debug it. But for some reason, nothing prints in my Android application.

How do I debug then?

         


        
11条回答
  •  [愿得一人]
    2020-11-22 08:09

    Of course, to see the result in logcat, you should set the Log level at least to "Info" (Log level in logcat); otherwise, as it happened to me, you won't see your output.

提交回复
热议问题