ADB official tool page
Terminal to install for Windows machine to understand Linux/Unix commands
app
cd (on Windows OS) = pwd (on Mac OS)
third party applications - сторонние приложения
adb shell screenrecord --1280x750
AZ recorder - для записи видео-скриншотов app
adb -e logcat -v color
adb -e logcat *:W - if Mac OS 15 and above with '*:W' (*- logs from any TAG)
adb logcat > Documents/logs.txt
emulator @Pixel_name = emulator -avd Pixel_name
adb logcat -c - clean the buffer
adb logcat ‘OkHttp:D’
adb logcat ‘OkHttp:D’ '*:S' (without '' on my Mac)
adb logcat -b crash > Documents/logs.txt - saves report on your Desktop in .txt format
adb logcat > Documents/logs.txt. --> control c - saves logs on computer
adb logcat | grep anr
adb shell screenrecord --size 1280x720
adb bugreport
adb reboot - перезапустить эмулятор
research the command that increases buffer size
links
https://stackoverflow.com/questions/46482178/adb-screenrecord-command-not-found
apk - installation for Android (Android package)
AZ Recorder for Android Device
how do you justify that the crash happens in a particular application?
the second line on your crash-input will be name of your process (package name) :com.example.android ,PID : 3434
what is the difference between Crash and ANR (Application Not Responding)?
Crash - run the application and its closes. the process got killed. it's no longer running (умер)
ANR - the app not responding, but the process is still alive (в коме)
what is ADB Bug report?
ADB Bug report generete a bug report folder on my computer in .zip format
(adb bugreport - the file saves in .zip format with different folders with a lot of files.
adb logcat - its a one very big/long .text.file)
What is your favorite adb command? (a real interview question; none wouldn't be accepted as an answer) Explain why
adb install -r Because it do it simply and quickly when we need to update our App