0

I am trying to System.out.println some debug statement but it won't appear on the console. I know I have the correct console open because it shows "Installing apk" and other messages when running the program. And the System.out.println statements are reached in my code. I tested it out by using Toasts and it is reached. Any help?

4

2 回答 2

1

使用 android 时,您应该使用android.util.Log并查看Logcat窗口。

于 2013-09-15T14:18:15.613 回答
0

检查Logcat输出,它应该在那里Logcat

于 2013-09-15T14:16:20.153 回答