Logcat formats logs to make it easier to scan useful information, You can also use the toolbar to clear, pause, or restartįigure 1. To turn it back on, clickįrom the toolbar. Up using your mouse wheel turns this feature off. Select View > Tool Windows > Logcat from the menu bar.īy default, Logcat scrolls to the end.In Android Studio Electric Eel, build and run your app on a physical.To view the log messages for your app, do the following. When an app throws an exception, Logcat shows a messageįollowed by the associated stack trace containing links to the line of code. The Logcat window in Android Studio Electric Eel helps you debug your app byĭisplaying logs from your device in real time-for example, messages that youĪdded to your app with the Log class, messagesįrom services that run on Android, or system messages, such as when a garbageĬollection occurs.
0 Comments
Leave a Reply. |