且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何输出LogCat中到控制台?

更新时间:2023-12-05 12:50:10

需要一个额外的步骤,但你可以复制并粘贴到控制台堆栈跟踪查看,然后你得到的可点击的链接。只要从logcat中,复制任何或所有行,并将其粘贴在控制台(在控制台中显示按钮选择Java堆栈跟踪在前)。

Requires an extra step, but you can copy and paste into the Console Stack Trace View, and you then get the clickable links. Just select any or all lines from Logcat, copy, and paste them in the Console (select Java Stack Trace in the Console Display button first).