lundi 23 septembre 2019

How to get logs from Android to a computer (Windows or Linux)

In order to get the logs from your Android device to your computer, just use a command of the following form :

adb logcat > C:\tmp\log.txt

Or

adb logcat your.package.name:I > C:\tmp\log.txt