Integração do Crashlytics com o Google Play
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Ao vincular o Firebase e o Google Play, você tem uma visualização mais detalhada da integridade
do seu app Android. Por exemplo, no painel do Crashlytics, é possível filtrar os
relatórios de erros do app por faixa do Google Play, assim seu painel pode ser
voltado para builds específicos.
Pré-requisitos
Configurar o app no Google Play
Para aproveitar a integração do Crashlytics com o Google Play, confira
se o app cumpre estes requisitos:
O app no Google Play e o app Android do Firebase são
registrados usando o mesmo nome de pacote.
Seu app no Google Play está
configurado no painel do app
e foi distribuído para uma das faixas do Google Play (teste interno,
teste fechado, teste aberto ou produção).
Link para Google Play
Vincule o app Android do Firebase à
sua conta de desenvolvedor do Google Play:
No console do Firebase, acesse
settings > Configurações do projeto
e selecione a guia Integrações.
No card do
Google Play,
clique em Vincular.
Caso você já tenha vínculos para o Google Play, clique em Gerenciar.
Siga as instruções na tela para ativar a integração do Crashlytics
e selecione os apps Android do Firebase que serão vinculados ao Google Play.
Saiba como criar e gerenciar vinculações entre o Firebase e o
Google Play.
Filtrar eventos por faixa do Google Play
Os relatórios de erros do app podem ser filtrados por faixa do Google Play diretamente no
painel do Crashlytics. Isso permite que você configure o painel para monitorar
builds específicos.
Para filtrar por faixa do Play, faça o seguinte:
Na parte de cima do painel do Crashlytics no
console do Firebase, selecione o app Android do Firebase que você quer.
No menu
filter_list Filtro da parte de cima,
clique em Versões. Em seguida, selecione a faixa do Google Play para ver os eventos do Crashlytics que você quer. É possível selecionar mais de uma faixa.
Clique em Aplicar.
Agora, todos os dados no painel do Crashlytics, como estatísticas sem falhas, tendências
e problemas, serão específicos para as faixas e versões
selecionadas do Play.
Outros tópicos de interesse
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-08-12 UTC.
[null,null,["Última atualização 2025-08-12 UTC."],[],[],null,["\u003cbr /\u003e\n\nBy linking Firebase and Google Play, you get a richer view into your Android\napp's health. For example, in the Crashlytics dashboard, you can filter your\napp's crash reports by Google Play track, which allows you to better focus\nyour dashboard on specific builds.\n\nPrerequisites\n\nSet up your app in Google Play\n\nTo take advantage of the Crashlytics integration with Google Play, make\nsure that your app meets the following requirements:\n\n- Your app in Google Play and your Firebase Android App are both\n registered using the same package name.\n\n- Your app in Google Play is\n [set up on the app dashboard](https://support.google.com/googleplay/android-developer/answer/9859454)\n and is distributed to one of the Google Play tracks (Internal testing,\n Closed testing, Open testing, or Production).\n\nLink to Google Play **Note:** Make sure that you have the [required level of access](https://support.google.com/firebase/answer/6392038#permissions-and-roles) to view or manage links to Google Play.\n\nLink your Firebase Android App to your Google Play developer account:\n\n1. In the Firebase console, go to\n settings \\\u003e *Project settings*,\n and then select the *Integrations* tab.\n\n2. On the\n [*Google Play* card](https://console.firebase.google.com/project/_/settings/integrations/playlink),\n click **Link** . \n\n *If you already have links to Google Play, click **Manage** instead.*\n\n3. Follow the on-screen instructions to enable the Crashlytics integration\n and select which Firebase Android Apps to link to Google Play.\n\nLearn more about [creating and managing links between Firebase and\nGoogle Play](https://support.google.com/firebase/answer/6392038).\n\nFilter events by Google Play track\n\nYou can filter your app's crash reports by Google Play track directly in the\nCrashlytics dashboard. This allows you to better focus your dashboard on\nspecific builds.\n\nHere's how to filter by Play track:\n\n1. At the top of the [Crashlytics dashboard](https://console.firebase.google.com/project/_/crashlytics) in the\n Firebase console, select your desired Firebase Android App.\n\n2. In the top-level\n filter_list **Filter**\n menu, click **Versions** , and then select the Google Play track for which\n you want to view Crashlytics events. You can select more than one track.\n\n3. Click **Apply**.\n\nAll the data in the Crashlytics dashboard (crash-free statistics, trends,\nand issues) will now be specific to the selected Play track(s)\nand version(s).\n\nOther topics of interest\n\n-\n [Customize your crash report setup](/docs/crashlytics/customize-crash-reports)\n by adding opt-in reporting, logs, keys, and tracking of non-fatal errors.\n\n- Now that you have a link to Google Play, take advantage of other\n integrations:\n\n - Access your [in-app purchase and subscription revenue\n data](https://support.google.com/analytics/answer/11548051) from Google Play in both Firebase and Google Analytics.\n - [Upload an Android app bundle to App Distribution](/docs/app-distribution/android/distribute-console?apptype=aab) so that Google Play can generate an APK that's optimized for your tester's device configuration."]]