1. Home
  2. SureLock
  3. SureLock Android
  4. Details to be gathered when there is an ANR on Android devices.
  1. Home
  2. SureMDM
  3. Details to be gathered when there is an ANR on Android devices.
  1. Home
  2. SureVideo
  3. SureVideo Android
  4. Details to be gathered when there is an ANR on Android devices.
  1. Home
  2. Android Management
  3. Details to be gathered when there is an ANR on Android devices.
  1. Home
  2. SureFox
  3. SureFox Android
  4. Details to be gathered when there is an ANR on Android devices.

Details to be gathered when there is an ANR on Android devices.

KB ID: 42G2012078
Views: 1345
Updated: May 2021

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: 
i. Download the SDK platform for your platform (windows /mac) from this link: https://developer.android.com/studio/releases/platform-tools.html
ii. Unzip the folder and ensure that the adb.exe file is present.
iii. 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.
iv. This will open the command prompt with the correct path from the adb.exe file for you.
v. To test whether ADB is working fine, connect the device to the system using a USB cable, and trust/allow the system.
vi. 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 

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   

Related Articles