จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Firebase Crashlytics
plat_ios
plat_android
plat_flutter
plat_unity
รับข้อมูลเชิงลึกที่ชัดเจนและนำไปใช้ได้จริงเกี่ยวกับปัญหาของแอปด้วยโซลูชันรายงานข้อขัดข้องที่มีประสิทธิภาพสำหรับ Apple, Android, Flutter และ Unity
Firebase Crashlytics คือรายงานข้อขัดข้องแบบเรียลไทม์ที่ใช้งานง่ายซึ่งช่วย
คุณติดตาม จัดลำดับความสำคัญ และแก้ไขปัญหาด้านความเสถียรที่ทำให้แอปมีคุณภาพลดลงได้
Crashlytics ช่วยคุณประหยัดเวลาในการแก้ปัญหาด้วยการจัดกลุ่มข้อขัดข้องอย่างชาญฉลาด
และเน้นถึงสถานการณ์ที่เกิดขึ้น
ตรวจสอบว่าข้อขัดข้องใดส่งผลกระทบต่อผู้ใช้จำนวนมากหรือไม่ รับการแจ้งเตือนเมื่อ
กลับมีความรุนแรงเพิ่มขึ้นอย่างกะทันหัน ค้นหาว่าโค้ดบรรทัดใดเป็นต้นเหตุ
ขัดข้อง
หากพร้อมที่จะเริ่มแล้ว เลือกแพลตฟอร์ม:
iOS
แอนดรอยด์
Flutter
เอกภาพ
ความสามารถที่สำคัญ
รายงานข้อขัดข้องที่ดูแลจัดการ |
Crashlytics สังเคราะห์หิมะถล่มให้เป็นรายการที่จัดการได้
ให้ข้อมูลเชิงบริบท และเน้นความรุนแรงและ
ความแพร่หลายของการขัดข้อง เพื่อให้คุณระบุสาเหตุได้รวดเร็วยิ่งขึ้น
|
การรักษาโรคสำหรับข้อขัดข้องที่พบบ่อย |
Crashlytics นำเสนอข้อมูลเชิงลึกเกี่ยวกับข้อขัดข้อง เคล็ดลับที่มีประโยชน์ซึ่งไฮไลต์ปัญหาที่พบได้บ่อย
ปัญหาด้านความเสถียร และให้แหล่งข้อมูลที่ทำให้สามารถ
แก้ปัญหา คัดแยก และแก้ปัญหา
|
ผสานรวมกับ Analytics |
Crashlytics บันทึกข้อผิดพลาดของแอปได้ในรูปแบบ
app_exception กิจกรรมใน Analytics
เหตุการณ์เหล่านี้ทำให้การแก้ไขข้อบกพร่องง่ายขึ้นด้วยการให้คุณเข้าถึงรายการเหตุการณ์อื่นๆ
ที่นำไปสู่ข้อขัดข้องแต่ละรายการ และแสดงข้อมูลเชิงลึกของกลุ่มเป้าหมายโดยช่วยให้คุณ
ดึงรายงานจาก Analytics สำหรับผู้ใช้ที่พบปัญหา
|
การแจ้งเตือนแบบเรียลไทม์ |
รับการแจ้งเตือนแบบเรียลไทม์สำหรับปัญหาใหม่ ปัญหาเดิม และปัญหาที่เพิ่มขึ้น
ซึ่งอาจต้องดำเนินการทันที
|
เส้นทางการใช้งาน
|
เชื่อมต่อแอป |
เริ่มด้วยการเพิ่ม Firebase ลงในแอปในคอนโซล Firebase
|
|
ผสานรวม SDK
|
เพิ่ม Crashlytics SDK ผ่าน CocoaPods, Gradle หรือ Pub และ Crashlytics
เริ่มเก็บรวบรวมรายงาน
|
|
ตรวจสอบรายงานในคอนโซล Firebase |
ไปที่คอนโซล Firebase เพื่อติดตาม จัดลำดับความสำคัญ และแก้ไขปัญหา
ในแอปของคุณ
|
Crashlytics วิเคราะห์ข้อขัดข้องของคุณเพื่อแก้ไขข้อบกพร่องที่ง่ายขึ้นอย่างไร
Crashlytics จะรวบรวมและจัดทำเมตริกและรายงานเกี่ยวกับแอป
วิเคราะห์ข้อขัดข้อง ข้อยกเว้นที่ไม่ร้ายแรง และเหตุการณ์ประเภทอื่นๆ จากแอปของคุณ พ
ใช้ข้อมูลการแมปสำหรับบิลด์ของแอปเพื่อสร้างข้อขัดข้องที่มนุษย์อ่านได้
เพื่อช่วยให้คุณเข้าใจเหตุการณ์ต่างๆ (เช่น เราใช้
ไฟล์สัญลักษณ์แก้ไขข้อบกพร่อง (dSYM)
สำหรับแอปแพลตฟอร์ม Apple)
เมื่อ Crashlytics ได้รับเหตุการณ์ ระบบจะใช้เครื่องมือการวิเคราะห์เพื่อจัดกลุ่ม
เหตุการณ์ที่เกี่ยวข้องเป็นปัญหา เครื่องมือวิเคราะห์จะดูเฟรมใน
สแต็กเทรซ ข้อความข้อยกเว้น รหัสข้อผิดพลาด และแพลตฟอร์มอื่นๆ หรือ
ลักษณะประเภทข้อผิดพลาดเพื่อจัดกลุ่มเหตุการณ์เป็นปัญหาต่างๆ ในปัญหา เหตุการณ์ทั้งหมด
เกิดความล้มเหลวร่วมกัน เมื่อมีเหตุการณ์ที่เข้ามาใหม่ตรงกับปัญหามากขึ้น
ปัญหาขึ้นที่ด้านบนสุดของตารางปัญหาของแอปในCrashlytics
หน้าแดชบอร์ด การจัดกลุ่มและการจัดอันดับนี้จะช่วยให้คุณระบุและแก้ไขปัญหา
ปัญหาที่สร้างผลกระทบได้รวดเร็วยิ่งขึ้น
แต่แม้แต่ภายในกลุ่มเหตุการณ์นี้ สแต็กเทรซยังนำไปสู่
ของจุดล้มเหลวอาจต่างกัน และสแต็กเทรซที่ต่างกันอาจหมายถึง
ต้นเหตุต่างๆ กัน หากต้องการแสดงถึงความแตกต่างที่เป็นไปได้ภายในปัญหาหนึ่งๆ
Crashlytics สร้างตัวแปรภายในปัญหา โดยตัวแปรแต่ละรายการคือ
กลุ่มย่อยของเหตุการณ์ในปัญหาที่มีจุดล้มเหลวเดียวกันและ
สแต็กเทรซที่คล้ายกัน เมื่อใช้ตัวแปร คุณจะแก้ไขข้อบกพร่องของสแต็กเทรซที่พบบ่อยที่สุดได้
ภายในปัญหา และพิจารณาว่าสาเหตุที่แท้จริงต่างๆ ทำให้เกิด
ล้มเหลว
ขั้นตอนถัดไป
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-08 UTC
[null,null,["อัปเดตล่าสุด 2025-08-08 UTC"],[],[],null,["# Firebase Crashlytics\n====================\n\nplat_ios plat_android plat_flutter plat_unity \nGet clear, actionable insight into app issues with this powerful crash reporting solution for Apple, Android, Flutter, and Unity. \n\nFirebase Crashlytics is a lightweight, realtime crash reporter that helps\nyou track, prioritize, and fix stability issues that erode your app quality.\nCrashlytics saves you troubleshooting time by intelligently grouping crashes\nand highlighting the circumstances that lead up to them.\n\nFind out if a particular crash is impacting a lot of users. Get alerts when an\nissue suddenly increases in severity. Figure out which lines of code are causing\ncrashes.\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/crashlytics/get-started?platform=ios)\n[Android](/docs/crashlytics/get-started?platform=android)\n[Flutter](/docs/crashlytics/get-started?platform=flutter)\n[Unity](/docs/crashlytics/get-started?platform=unity)\n\nKey capabilities\n----------------\n\n|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Curated crash reports | Crashlytics synthesizes an avalanche of crashes into a manageable list of issues, provides contextual information, and highlights the severity and prevalence of crashes so you can pinpoint the root cause faster. |\n| Cures for the common crash | Crashlytics offers Crash Insights, helpful tips that highlight common stability problems and provide resources that make them easier to troubleshoot, triage, and resolve. |\n| Integrated with Analytics | Crashlytics can capture your app's errors as `app_exception` events in Analytics. The events simplify debugging by giving you access a list of other events leading up to each crash, and provide audience insights by letting you pull Analytics reports for users with crashes. |\n| Realtime alerts | Get realtime alerts for new issues, regressed issues, and growing issues that might require immediate attention. |\n\nImplementation path\n-------------------\n\n|---|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| | Connect your app | Start by adding Firebase to your app in the [Firebase console](//console.firebase.google.com/). |\n| | Integrate the SDK | Add the Crashlytics SDK via CocoaPods, Gradle, or Pub, and Crashlytics starts collecting reports. |\n| | Check reports in the [Firebase console](https://console.firebase.google.com/project/_/crashlytics) | Visit the [Firebase console](https://console.firebase.google.com/project/_/crashlytics) to track, prioritize, and fix issues in your app. |\n\nHow does Crashlytics analyze your crashes for easier debugging?\n---------------------------------------------------------------\n\nTo provide metrics and reports about your app, Crashlytics collects and\nanalyzes crashes, non-fatal exceptions, and other event types from your app. We\nuse the mapping information for your app's build to create human-readable crash\nreports to help you understand the events (for example, we use the\n[debug symbol (dSYM) files](https://developer.apple.com/documentation/xcode/building-your-app-to-include-debugging-information)\nfor Apple platform apps).\n\nWhen Crashlytics receives events, it uses an analysis engine to group\nrelated events into ***issues*** . The analysis engine looks at the frames in\nthe stack trace, exception message, error code, and other platform or\nerror type characteristics to group events into issues. In an issue, all events\nhave a common point of failure. As more incoming events match to an issue, the\nissue rises towards the top of your app's *Issues* table in the Crashlytics\ndashboard. This grouping and ranking helps you identify and fix the most\nimpactful problems faster.\n\nYet even within this group of events, the stack traces leading to the\npoint-of-failure might be different. And a different stack trace could mean a\ndifferent root cause. To represent this possible difference within an issue,\nCrashlytics creates ***variants*** within issues --- each variant is a\nsub-group of events in an issue that have the same failure point *and* a\nsimilar stack trace. With variants, you can debug the most common stack traces\nwithin an issue and determine if different root causes are leading to the\nfailure.\n\nNext steps\n----------\n\n- [Get started with Firebase Crashlytics](/docs/crashlytics/get-started)\n --- Learn how to add Firebase Crashlytics to an Apple, Android,\n Flutter, or Unity project.\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-\n [Integrate with Google Play](/docs/crashlytics/integrate-with-google-play) so that\n you can filter your Android app's crash reports by Google Play track directly in the\n Crashlytics dashboard. This allows you to better focus your dashboard on specific builds."]]