1. Home
  2. Knowledge Base
  3. SureMDM
  4. Bug report details are to be gathered when Android devices have an ANR.
  1. Home
  2. Knowledge Base
  3. SureFox
  4. SureFox Android
  5. Bug report details are to be gathered when Android devices have an ANR.
  1. Home
  2. Knowledge Base
  3. SureLock
  4. SureLock Android
  5. Bug report details are to be gathered when Android devices have an ANR.
  1. Home
  2. Knowledge Base
  3. SureVideo
  4. SureVideo Android
  5. Bug report details are to be gathered when Android devices have an ANR.
  1. Home
  2. Knowledge Base
  3. Android Management
  4. Bug report details are to be gathered when Android devices have an ANR.

Bug report details are to be gathered when Android devices have an ANR.

It is possible that sometimes the applications crash on the devices hampering productivity, resources, and time. To avoid such instances from repeating admin can report the issue to the Technical Support team of 42Gears with the below-mentioned logs. These logs consist of details about what exactly led to the crash of the application. 

Please follow the below-mentioned steps to gather these log files.

1) If the device is only available remotely.

  • Enable Developer Option by navigating to the Settings of the device. Further, tap on About Phone and Tap the Build Number seven times. A message saying you are now a developer will be prompted.
  • Enable USB debugging.
  • Now click Bug Report.
  • Once a bug report is generated it will show in the notification panel.

Gather this and share it with the 42Gears Technical Support Team to help them analyze the issue further.

Note:
1. Please ensure that the device is configured with a Google Account.
2. Please ensure that the Google Drive app is installed on the device, in order to share the bug report. 

2) If the device is available Physically. 

  • Enable Developer Option by navigating to the Settings of the device. Further, tap on About Phone and Tap the Build Number seven times. A message saying you are now a developer will be prompted.
  • Enable USB debugging.
  • On the computer, connect the device, install, and run ADB if not present.

Steps: 

  • Download the SDK platform for your platform (windows /mac) from this link: https://developer.android.com/studio/releases/platform-tools.html
  • Unzip the folder and ensure that the adb.exe file is present.
  • Press shift and right-click the mouse icon, select Open Command Window Here or you can run the command prompt and enter the path, where the adb.exe file is located.
  • This will open the command prompt with the correct path from the adb.exe file for you.
  • To test whether ADB is working fine, connect the device to the system using a USB cable, and trust/allow the system.
  • Run the below-mentioned command in the command prompt and this will show the devices connected to the system.
adb devices 
  • Once done, execute the below commands to fetch the crash reports.

    a. If the OS of the device is Nougat and below: 
adb pull /data/anr/traces.txt

b. If the OS of the device is Oreo or above: 

adb bugreport 

NOTE: This command will create the Bug report and save it to a local directory.

adb bugreport C:\Users\Username\Documents\Reports

NOTE: Create a folder “Reports” and Specify the location to save the Bugreport on the system. (Recommended )

Gather this and share it with the 42Gears Technical Support Team to help them analyze the issue further.

For more details on our products, click here
If you need further assistance, please submit a ticket here   

Was this helpful?
YesNo
Updated on August 2023