ADB commands
ADB commands
Take screenshot
Connect Device to laptop using data or usb cable
Take screenshot with below command
adb exec-out screencap -p > "<location with file name>"
Generate logs.
Refere below link for more details
https://developer.android.com/tools/logcat
https://developer.android.google.cn/reference/kotlin/android/util/Log?hl=en
Hit below commands after performing the actions to generate the logs