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

前端 未结 11 833
轮回少年
轮回少年 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

    Yes it does. If you're using the emulator, it will show in the Logcat view under the System.out tag. Write something and try it in your emulator.

提交回复
热议问题