Mengintegrasikan Crashlytics dengan Google Play
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Dengan menautkan Firebase dan Google Play, Anda akan mendapatkan informasi yang lebih lengkap tentang kondisi aplikasi Android Anda. Misalnya, di dasbor Crashlytics, Anda dapat memfilter laporan error aplikasi menurut jalur Google Play, sehingga Anda dapat lebih memfokuskan dasbor pada build tertentu.
Prasyarat
Menyiapkan aplikasi di Google Play
Untuk memanfaatkan integrasi Crashlytics dengan Google Play, pastikan
aplikasi Anda memenuhi persyaratan berikut:
Aplikasi Anda di Google Play dan Aplikasi Android Firebase Anda terdaftar menggunakan nama paket yang sama.
Aplikasi Anda di Google Play
disiapkan di dasbor aplikasi
dan didistribusikan ke salah satu jalur Google Play (Pengujian internal, Pengujian tertutup, Pengujian terbuka, atau Produksi).
Tautan ke Google Play
Tautkan aplikasi Firebase Anda ke akun developer Google Play Anda.
Di Firebase console, buka
settings > Project settings,
lalu pilih tab Integrations.
Di
kartu Google Play,
klik Link.
Jika Anda sudah memiliki tautan ke Google Play, klik Manage.
Ikuti petunjuk di layar untuk mengaktifkan Crashlytics dan memilih Aplikasi Android Firebase yang akan ditautkan ke Google Play.
Pelajari lebih lanjut cara membuat dan mengelola penautan antara Firebase dan Google Play.
Memfilter peristiwa menurut jalur Google Play
Anda dapat memfilter laporan error aplikasi menurut jalur Google Play secara langsung di dasbor Crashlytics. Dengan demikian, Anda dapat lebih memfokuskan dasbor pada build tertentu.
Berikut cara memfilter menurut jalur Play:
Di bagian atas dasbor Crashlytics di Firebase console, pilih Aplikasi Android Firebase yang diinginkan.
Di menu filter_list Filter di tingkat atas, klik Versions, lalu pilih jalur Google Play yang Anda inginkan untuk melihat peristiwa Crashlytics. Anda dapat memilih lebih dari satu jalur.
Klik Terapkan.
Semua data di dasbor Crashlytics (statistik bebas error, tren, dan masalah) sekarang akan spesifik untuk jalur dan versi Play yang dipilih.
Topik menarik lainnya
Sesuaikan penyiapan laporan error
dengan menambahkan pelaporan keikutsertaan, log, kunci, dan pelacakan error non-fatal.
Setelah Anda memiliki tautan ke Google Play, manfaatkan integrasi lainnya:
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-14 UTC.
[null,null,["Terakhir diperbarui pada 2025-08-14 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."]]