Tworzenie raportu o błędzie i nagrania wideo na urządzeniu z Androidem
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Aby pomóc zespołowi pomocy rozwiązać problemy z aplikacją Wiadomości na urządzeniach z Androidem, wygeneruj raport o błędzie i nagraj film.
Aby otrzymać raport o błędzie bezpośrednio z urządzenia z Androidem, wykonaj te czynności.
Włączanie opcji programisty i debugowania przez USB
Informacje o opcjach programisty służących do konfigurowania zachowań systemu, które ułatwiają profilowanie i debugowanie wydajności aplikacji, znajdziesz w artykule Konfigurowanie opcji programisty na urządzeniu.
Włączanie szczegółowego logowania w przypadku aplikacji Wiadomości
urządzenie z dostępem do roota.
Na urządzeniu z rootem użyj tych poleceń, aby włączyć szczegółowe logowanie:
Włącz logowanie szczegółowe tylko na urządzeniach testowych. Ten dziennik zawiera informacje umożliwiające identyfikację osoby.
adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e carrier_services_log_level VERBOSE
adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e carrier_services_enable_debug_mode true
adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e bugle_rcs_allow_overrides true
adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e bugle_debugging true
adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e carrier_services_enable_sensitive_logging true
Urządzenie bez roota
Na urządzeniu bez uprawnień roota włącz logowanie szczegółowe za pomocą tego polecenia:
adb shell am broadcast -a 'com.google.android.gms.phenotype.FLAG_OVERRIDE' --es package "com.google.android.apps.messaging#com.google.android.apps.messaging" --es user "\*" --esa flags "bugle_phenotype__enable_verbose_bug_reports" --esa values "true" --esa types "boolean" com.google.android.gms
Odtworzenie problemu
W sekcji Ustawienia > System > Opcje programisty > Rozmiary bufora rejestratora zmaksymalizuj rozmiar bufora rejestratora. Użyj największego rozmiaru dla urządzenia (na przykład 16 MB na urządzeniu wysokiej klasy).
Wymuś zatrzymanie aplikacji Wiadomości.
Jeśli błąd dotyczy obsługi protokołu Rich Communication Services (RCS), wykonaj te czynności:
Włącz tryb samolotowy.
Wyczyść pamięć na dane aplikacji Wiadomości i Usługi operatora w Ustawieniach.
Wyłącz tryb samolotowy.
Włącz czat RCS w Ustawieniach.
Zanim rozpoczniesz zgłaszanie błędu, zaczekaj co najmniej 5 minut.
W przypadku każdego nowego błędu wyczyść komunikaty logcat:
adb logcat -c
Rozpocznij nagrywanie filmu:
rejestrować tylko zgłoszoną usterkę;
Nagrania wideo powinny być jak najkrótsze. Jeśli na przykład błąd występuje po wykonaniu pojedynczego wywołania, nagraj tylko tę część wywołania.
Nie nagrywaj powtarzających się kroków.
Uruchom aplikację Wiadomości i powtórz błąd.
Zatrzymaj nagrywanie filmu.
Utworzenie raportu o błędzie
W raporcie odnotuj te informacje:
Sygnatura czasowa błędu.
czynności, które powodują błąd;
sam błąd (np. komunikat o błędzie);
nagranie ekranu podczas odtwarzania błędu;
W sekcji Opcje programisty kliknij Zgłoś błąd.
Wybierz typ raportu o błędzie i kliknij Zgłoś. Powiadomienie o gotowości raportu o błędzie.
Załącz raport o błędzie w przesłanym zgłoszeniu.
Jeśli błąd dotyczy jednej lub większej liczby wiadomości (np. nie można ich wysłać), podaj identyfikatory wiadomości, których dotyczy problem.
Włącz menu debugowania w aplikacji Wiadomości:
Otwórz Wiadomości.
Kliknij pasek wyszukiwania.
Wyszukaj: *xyzzy* Otworzy się menu Narzędzia do debugowania lub pojawi się powiadomienie z wiadomością Debug menu option enabled.
Naciśnij i przytrzymaj wiadomość.
Kliknij more_vertMenu, a następnie Wyświetl szczegóły.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["To help the Support team resolve issues with the Messages app on Android\ndevices, generate a bug report and a video recording.\n\nTo get a bug report directly from your Android device, follow these steps.\n| **Note:** Changes to settings, a device reset, or a device reboot may require you to repeat steps 1 and 2.\n\nEnable developer options and USB debugging\n\nFor information about developer options used to configure system behaviors that\nhelp you profile and debug your app performance, see\n[Configure on-device developer options](https://developer.android.com/studio/debug/dev-options).\n\nEnable verbose logging for Messages \n\nRooted device\n\nOn a rooted device, use the following commands to enable verbose\nlogging: \n\n adb shell setprop log.tag.Bugle VERBOSE\n adb shell setprop log.tag.BugleDataModel VERBOSE\n adb shell setprop log.tag.RcsProvisioning VERBOSE\n adb shell setprop log.tag.CarrierServices VERBOSE\n adb shell setprop log.tag.BugleAction VERBOSE:\n adb shell setprop log.tag.BugleRcsEngine VERBOSE;\n adb shell setprop log.tag.BugleTransport VERBOSE;\n adb shell setprop log.tag.BugleRcsProvisioning VERBOSE;\n adb shell setprop log.tag.RcsClientLib VERBOSE;\n adb shell setprop log.tag.BugleRcs VERBOSE;\n\n**Enable verbose logging only for the testing devices**. The following\nlog includes personally identifiable information (PII). \n\n adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e carrier_services_log_level VERBOSE\n adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e carrier_services_enable_debug_mode true\n adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e bugle_rcs_allow_overrides true\n adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e bugle_debugging true\n adb shell su root am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE -e carrier_services_enable_sensitive_logging true\n\nUnrooted device\n\nOn an unrooted device, use the following command to enable verbose logging: \n\n adb shell am broadcast -a 'com.google.android.gms.phenotype.FLAG_OVERRIDE' --es package \"com.google.android.apps.messaging#com.google.android.apps.messaging\" --es user \"\\*\" --esa flags \"bugle_phenotype__enable_verbose_bug_reports\" --esa values \"true\" --esa types \"boolean\" com.google.android.gms\n\nReproduce your issue\n\n1. In **Settings \\\u003e System \\\u003e Developer options \\\u003e Logger buffer sizes**, maximize the logger buffer size. Use the largest size for the device (for example, 16 MB on a high-end device).\n2. Force stop the Messages app.\n3. If the bug relates to Rich Communication Services (RCS) provisioning, complete the following steps:\n 1. Enable Airplane mode.\n 2. Clear the Messages and Carrier Services storage from **Settings**.\n 3. Disable Airplane mode.\n 4. Enable RCS chat in **Settings**.\n 5. Wait at least five minutes before starting the bug report.\n4. For each new bug, clear the logcat messages:\n\n adb logcat -c\n\n5. Start the video recording:\n\n - Record only the reported bug.\n - Keep video recordings as short as possible. For example, if the bug occurs after making a single call, record only that section of the call.\n - Don't record repetitive steps.\n6. Start the Messages app and reproduce the bug.\n\n7. Stop the video recording.\n\nCollect the bug report\n\n1. In the report, capture the following:\n 1. The timestamp when the bug occurs.\n 2. The steps that trigger the bug.\n 3. The bug itself (for example, error message).\n 4. A recording of the screen while reproducing the bug.\n2. In **Developer options** , tap **Take bug report**.\n\n | **Tip:** To learn how to generate bug reports using `adb`, see [Capture a bug report using adb](https://developer.android.com/studio/debug/bug-report#bugreportadb).\n3. Select a bug report type and tap **Report**. A notification indicates\n when the bug report is ready.\n\n4. Attach the bug report in a submitted bug.\n\nIf the bug relates to one or more messages (for example, messages couldn't be\nsent), provide the Message IDs of the affected messages.\n\n1. Enable the Messages debug menu:\n 1. Open Messages.\n 2. Tap the search bar.\n 3. Search for `*xyzzy*`. The **Debug Utils** menu opens or a toast appears with the message `Debug menu option enabled`.\n2. Touch \\& hold the message.\n3. Tap more_vert Menu, then tap **View Details**."]]