Capturar um relatório de bug e uma gravação de vídeo para o dispositivo Android
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Para ajudar a equipe de suporte a resolver problemas com o app Mensagens em dispositivos
Android, gere um relatório de bug e uma gravação de vídeo.
Para gerar um relatório de bug diretamente no seu dispositivo Android, siga estas etapas.
Ativar as opções do desenvolvedor e a depuração USB
Para informações sobre as opções do desenvolvedor usadas para configurar comportamentos do sistema que
ajudam você a criar perfis e depurar o desempenho do app, consulte
Configurar opções do desenvolvedor no dispositivo.
Ativar o registro detalhado para Mensagens
Dispositivo com acesso root
Em um dispositivo com acesso root, use os seguintes comandos para ativar o registro
detalhado:
Ative o registro detalhado apenas para os dispositivos de teste. O registro a seguir
inclui informações de identificação pessoal (PII).
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
Dispositivo sem acesso root
Em um dispositivo sem acesso root, use o seguinte comando para ativar o registro detalhado:
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
Reproduza o problema.
Em Configurações > Sistema > Opções do desenvolvedor > Tamanhos de buffer do registrador, maximize
o tamanho do buffer do registrador. Use o tamanho maior para o dispositivo (por exemplo,
16 MB em um dispositivo de última geração).
Force o fechamento do app Mensagens.
Se o bug estiver relacionado ao provisionamento de Serviços de Comunicação Avançada (RCS),
siga estas etapas:
Ative o modo avião.
Limpe o armazenamento do app Mensagens e dos Serviços da operadora em Configurações.
Desative o modo avião.
Ative o chat RCS nas Configurações.
Aguarde pelo menos cinco minutos antes de iniciar o relatório de bug.
Para cada novo bug, limpe as mensagens do Logcat:
adb logcat -c
Inicie a gravação de vídeo:
Grave apenas o bug informado.
Mantenha as gravações de vídeo o mais curtas possível. Por exemplo, se o
bug ocorrer após uma única chamada, registre apenas essa seção da
chamada.
Não grave etapas repetitivas.
Inicie o app Mensagens e reproduza o bug.
Pare a gravação de vídeo.
Coletar o relatório do bug
No relatório, capture o seguinte:
O carimbo de data/hora em que o bug ocorre.
As etapas que acionam o bug.
O bug em si (por exemplo, mensagem de erro).
Uma gravação da tela durante a reprodução do bug.
Em Opções do desenvolvedor, toque em Obter relatório de bugs.
Selecione um tipo de relatório de bug e toque em Denunciar. Uma notificação indica
quando o relatório do bug está pronto.
Anexe o relatório do bug em um bug enviado.
Se o bug estiver relacionado a uma ou mais mensagens (por exemplo, mensagens que não puderam ser
enviadas), forneça os IDs das mensagens afetadas.
Ative o menu de depuração do app Mensagens:
Abra o app Mensagens.
Toque na barra de pesquisa.
Pesquisar por *xyzzy*. O menu Debug Utils é aberto ou uma mensagem
pop-up aparece com a mensagem Debug menu option enabled.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 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**."]]