ผสานรวม Crashlytics กับ Google Play
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การลิงก์ Firebase กับ Google Play จะช่วยให้คุณเห็นภาพรวมของสถานะแอป Android
ได้ดียิ่งขึ้น เช่น ในCrashlyticsแดชบอร์ด คุณสามารถกรองรายงานข้อขัดข้องของแอปตามGoogle Playแทร็ก ซึ่งจะช่วยให้คุณมุ่งเน้นแดชบอร์ดไปที่บิลด์ที่เฉพาะเจาะจงได้ดียิ่งขึ้น
ข้อกำหนดเบื้องต้น
ตั้งค่าแอปใน Google Play
หากต้องการใช้ประโยชน์จากการผสานรวม Crashlytics กับ Google Play โปรดตรวจสอบว่าแอปของคุณมีคุณสมบัติตรงตามข้อกำหนดต่อไปนี้
แอปของคุณใน Google Play และแอป Firebase บน Android มีการลงทะเบียนโดยใช้ชื่อแพ็กเกจเดียวกัน
แอปของคุณใน Google Play มีการ
ตั้งค่าในแดชบอร์ดของแอป
และเผยแพร่ไปยังแทร็กใดแทร็กหนึ่งของ Google Play (การทดสอบภายใน
การทดสอบแบบปิด การทดสอบแบบเปิด หรือเวอร์ชันที่ใช้งานจริง)
ลิงก์ไปยัง Google Play
ลิงก์แอป Firebase บน Android กับGoogle Playบัญชีนักพัฒนาแอป
ในFirebaseคอนโซล ให้ไปที่
settings > การตั้งค่าโปรเจ็กต์
จากนั้นเลือกแท็บการผสานรวม
ในการ์ด Google Play
คลิกลิงก์
หากคุณลิงก์กับ Google Play อยู่แล้ว ให้คลิกจัดการแทน
ทำตามวิธีการบนหน้าจอเพื่อเปิดใช้Crashlyticsการผสานรวม
และเลือกแอป Firebase บน Android ที่จะลิงก์กับ Google Play
ดูข้อมูลเพิ่มเติมเกี่ยวกับการสร้างและจัดการลิงก์ระหว่าง Firebase กับ
Google Play
กรองเหตุการณ์ตามGoogle Playแทร็ก
คุณกรองรายงานข้อขัดข้องของแอปตามGoogle Playแทร็กได้โดยตรงในแดชบอร์ดCrashlytics ซึ่งจะช่วยให้คุณมุ่งเน้นแดชบอร์ดไปที่
บิลด์ที่เฉพาะเจาะจงได้ดียิ่งขึ้น
วิธีกรองตามแทร็ก Play มีดังนี้
ที่ด้านบนของแดชบอร์ด Crashlytics ในคอนโซล
Firebase ให้เลือกแอป Android ของ Firebase ที่ต้องการ
ในเมนูfilter_list ตัวกรองระดับบนสุด ให้คลิกเวอร์ชัน แล้วเลือกแทร็ก Google Play ที่คุณต้องการดูเหตุการณ์ Crashlytics โดยคุณเลือกได้มากกว่า 1 แทร็ก
คลิกใช้
ตอนนี้ข้อมูลทั้งหมดในCrashlyticsแดชบอร์ด (สถิติ แนวโน้ม และปัญหาที่ไม่มีข้อขัดข้อง)
จะเจาะจงPlayแทร็ก
และเวอร์ชันที่เลือก
หัวข้ออื่นๆ ที่น่าสนใจ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-08 UTC
[null,null,["อัปเดตล่าสุด 2025-08-08 UTC"],[],[],null,["# Integrate Crashlytics with Google Play\n\n\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-------------\n\n### Set 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\n### Link to Google Play\n\n| **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----------------------------------\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-\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."]]