Integrare Crashlytics con Google Play
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Se colleghi Firebase e Google Play, ottieni una visione più completa dello stato della tua app per Android. Ad esempio, nella dashboard Crashlytics puoi filtrare i report sugli arresti anomali della tua app in base alla traccia Google Play, il che ti consente di concentrare meglio la dashboard su build specifiche.
Prerequisiti
Configura l'app in Google Play
Per sfruttare l'integrazione di Crashlytics con Google Play, assicurati che la tua app soddisfi i seguenti requisiti:
La tua app in Google Play e la tua app Firebase per Android sono entrambe
registrate con lo stesso nome pacchetto.
La tua app in Google Play è
configurata nella dashboard dell'app
e distribuita a uno dei canali di Google Play (test interno,
test chiuso, test aperto o produzione).
Collega a Google Play
Collega l'app Firebase per Android al tuo account sviluppatore Google Play:
Nella console Firebase, vai a
settings > Impostazioni progetto,
quindi seleziona la scheda Integrazioni.
Nella scheda
Google Play,
fai clic su Collega.
Se hai già dei link a Google Play, fai clic su Gestisci.
Segui le istruzioni sullo schermo per attivare l'integrazione di Crashlytics
e seleziona le app Firebase per Android da collegare a Google Play.
Scopri di più sulla creazione e sulla gestione dei collegamenti tra Firebase e
Google Play.
Filtra gli eventi per traccia Google Play
Puoi filtrare i report sugli arresti anomali della tua app in base alla Google Play traccia direttamente nella
dashboard Crashlytics. In questo modo puoi concentrare meglio la dashboard su
build specifiche.
Ecco come filtrare in base alla traccia Play:
Nella parte superiore della dashboard Crashlytics della
console Firebase, seleziona l'app per Android Firebase che preferisci.
Nel menu di primo livello
filter_list Filtro, fai clic su Versioni, poi seleziona la traccia Google Play per cui
vuoi visualizzare gli eventi Crashlytics. Puoi selezionare più di una traccia.
Fai clic su Applica.
Tutti i dati nella dashboard Crashlytics (statistiche, tendenze e problemi senza arresti anomali) ora saranno specifici per le tracce e le versioni Play selezionate.
Altri argomenti di interesse
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-08-08 UTC.
[null,null,["Ultimo aggiornamento 2025-08-08 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."]]