Zadbaj o dobrą organizację dzięki kolekcji Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Połączenie Firebase z Google Play zapewnia lepszy wgląd w stan aplikacji na Androida. Na przykład w Crashlytics możesz filtrować raporty o awariach aplikacji według Google Play, co pozwala lepiej skupić się na konkretnych wersjach.
Wymagania wstępne
Konfigurowanie aplikacji w Google Play
Aby skorzystać z integracji Crashlytics z Google Play, upewnij się, że Twoja aplikacja spełnia te wymagania:
Zarówno aplikacja w Google Play, jak i aplikacja Firebase na Androida zostały zarejestrowane przy użyciu tej samej nazwy pakietu.
Aplikacja w Google Play jest skonfigurowana w panelu aplikacji i rozpowszechniana na jednej ze ścieżek Google Play (Test wewnętrzny, Test zamknięty, Test otwarty lub Produkcja).
Połącz z grupą kont rozliczeniowych Google Play
Połącz aplikację Firebase na Androida z Google Play kontem dewelopera:
W Firebase konsoli otwórz settings > Ustawienia projektu, a następnie wybierz kartę Integracje.
Na karcie Google Play kliknij Połącz. Jeśli masz już połączenia z Google Play, kliknij Zarządzaj.
Postępuj zgodnie z instrukcjami wyświetlanymi na ekranie, aby włączyć Crashlyticsintegrację i wybrać aplikacje Firebase na Androida, które chcesz połączyć z Google Play.
Raporty o awariach aplikacji możesz filtrować według Google Playścieżki bezpośrednio w Crashlyticspanelu. Dzięki temu możesz lepiej dostosować panel do konkretnych kompilacji.
Aby filtrować według ścieżki Play:
U góry Crashlyticspanelu w Firebasekonsoli wybierz odpowiednią aplikację Firebase na Androida.
W menu najwyższego poziomu filter_listFiltr kliknij Wersje, a potem wybierz ścieżkę Google Play, dla której chcesz wyświetlić zdarzenia Crashlytics. Możesz wybrać więcej niż 1 ścieżkę.
Kliknij Zastosuj.
Wszystkie dane w panelu Crashlytics (statystyki, trendy i problemy dotyczące aplikacji bez awarii) będą teraz odnosić się do wybranych Play ścieżek i wersjiPlay.
[[["Ł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-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."]]