There are two methods for extracting logcat logs from Android:
- Command Line
- GUI
Command Line
- Download SDK Platform-Tools.
- Enable Developer Options & USB Debugging on the Android device (scanner).
- Reproduce Crash.
- Plug in device to computer.
- Run the command: adb logcat -d > logcat.txt
Produces a text file containing the log messages.
GUI
- Download Android Studio on a desktop computer.
- Enable Developer Options & USB Debugging on the Android device (scanner).
- Reproduce Crash.
- Plug in device to computer.
- Launch Android Studio.
- Navigate to the Logcat pane on the bottom left.
- Note if the device is detected and:
- If the device is detected, messages are already rolling as the device is operating.
- If not, select the device from the drop-down menu.
- Select the
button (Export Logs to a File). - Save file to location of choice.
Enable developer options and USB debugging on Android
- Navigate to About in Android Settings.
- Locate Build Number and tap 7 times (see How to Enable Android Developer Settings: Unlock your Device’s Hidden Potential).
- Enable USB debugging in the new Developer Options screen.
Still need help?
Ask other Business Central users in the Insight Works community, or send the details to the support team. Include the steps you took and any error message you saw.