Bug_Reporting_Guide.md
Thank you for helping us improve the AI Edge Gallery app! To find and fix bugs effectively, our engineers need detailed diagnostic information from your device. A Full Bug Report is the best way to provide this.
Please note that this guide is specifically for capturing bug reports on Android devices.
This guide covers the simple on-device method for all users and the more advanced adb method for developers.
This is the fastest and easiest way to generate a complete bug report.
First, you need to enable the hidden "Developer options" menu on your phone.
It's best to capture the report immediately after you've experienced the bug.
.zip file with us. The easiest way is to save it to your Google Drive and share the link, or attach it directly to the GitHub issue.This section is for users comfortable with the Android Debug Bridge (adb) command-line tool.
If you have a device connected to your computer with USB debugging enabled, you can use the following commands.
# This saves the report to the specified path on your computer.
adb bugreport C:\Reports\MyBugReports
# First, list devices to get the serial number.
adb devices
# Then, use the serial number to target the correct device.
adb -s <your_device_serial_number> bugreport
Android automatically saves recent bug reports on the device.
adb shell ls /bugreports/
adb pull /bugreports/<bug_report_filename.zip>
Your bug report is a .zip file. Inside, the most important file is bugreport-[...].txt. This text file contains the full system log (logcat), error logs (dumpstate), and detailed diagnostic output for all system services (dumpsys), giving engineers a complete picture of the device's state at the time of the bug.