我刚刚下载的Android工作室for Linux的: http://developer.android.com/sdk/installing/studio.html
I just downloaded Android Studio for Linux from: http://developer.android.com/sdk/installing/studio.html
我不知道如何打印到控制台?
I'm wondering how to print to the console?
无论是 System.out.print(...)
和 Log.e(...)
从 android.util.Log
似乎工作。
推荐答案
运行你的应用程序中的调试 模式的点击
Run your application in debug mode by clicking on
在Android的Studio的上一级菜单。
in the upper menu of Android Studio.
在底部的状态栏中,点击 5:调试
按钮,旁边的 4:运行
按钮
In the bottom status bar, click 5: Debug
button, next to the 4: Run
button.
现在,你应该选择的logcat
控制台。
Now you should select the Logcat
console.
在搜索框,您可以键入的您的邮件,邮件的标签的应该会出现,就像在下面的图片(其中的标记是 CREATION
):
In search box, you can type the tag of your message, and your message should appear, like in the following picture (where the tag is CREATION
):
检查这篇文章以获取更多信息。
相关推荐
最新文章