Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the logfile from an Android device?

Tags:

android

I would like to pull the log file from a device to my PC. How can I do that?

like image 254
Pentium10 Avatar asked Oct 03 '22 19:10

Pentium10


People also ask

How do I get adb logs from my Android?

Navigate to device settings and enable Developer Options (see section for ADB logs) Navigate to Developer Options and tap on Take/Submit Bug Report. Select Full Report when prompted to get the full device info along with the logs.

How do I view Android emulator logs?

To access it, open the Chrome Developer tools from the More tools menu. Inside it you need to open the Remote devices view from the More tools menu. The view will list all attached Android devices and running emulator instances, each with its own list of active web views.


1 Answers

Logcollector is a good option but you need to install it first.

When I want to get the logfile to send by mail, I usually do the following:

  • connect the device to the pc.
  • Check that I already setup my os for that particular device.
  • Open a terminal
  • Run adb shell logcat > log.txt
like image 122
Macarse Avatar answered Oct 21 '22 05:10

Macarse