
Reproduce the issue on the Android device and press Ctrl+C on the Terminal window to stop debugging.adb logcat -v threadtime > /tmp/android-debug.log. Enter the device ID obtained in the previous step in the place of Device ID. Note the device ID of the devices for which you need to collect the logs. adb devices to list the devices connected to your Mac. Open a new Terminal, change the working directory to the path where Android SDK is installed by running the command cd /platform-tools.Connect the Android device to your Mac through USB cable.Select and install Android Platform tools. Download and install Android SDK on the Mac.You can now share the file.txt file to MDM Support team.įollow the steps below to collect ADB logs on a Mac device:.Reproduce the issue on the Android device and press Ctrl+C on the Terminal Window to stop debugging.This will generate the ADB logs and the logs will be saved to the file.txt file.

Then execute adb logcat > file.txt command.Now, open Command Prompt in the expanded folder and execute the command adb devices, which will show you the connected devices.

Once the contents in makedeviceowner.zip are extracted, open makedeviceowner folder.On the computer, download the ADB Zip file from this link and unzip its contents.Connect the device to a computer through USB.Now, navigate back to Settings -> Developer Options and select the option Enable USB debugging.

Click on it 6 to 7 times, upon which You are now a developer is shown.

But if there is an issue at the device level, you need to generate ADB logs.įollow the steps given below to generate ADB logs using Windows PC. If the issue at hand pertains to MDM App, the logs can be directly collected from the app as explained in this document. In some instances, MDM support technicians might need the logs of the managed devices to understand the issue better and resolve the issues quickly. How to generate Android device logs using ADB method? Description
