Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Firebase crash reportの実践的導入
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
yamacraft
July 13, 2016
Technology
1.3k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Firebase crash reportの実践的導入
2016/07/13(水)に開催されたOtemachi Firebase#1にて使用した資料です
yamacraft
July 13, 2016
More Decks by yamacraft
See All by yamacraft
なぜアプリのデザインとその実装はうまくいかないのか?
yamacraft
0
230
あんまり触れられてない気がする、Kotlin1.3の ありがたい追加機能
yamacraft
0
3.3k
ありがたいUIをもっと大事にしたい
yamacraft
2
2.5k
Quickstart-android/mlkitについて
yamacraft
2
5.2k
Firebase関連をCIでデプロイするときのTips
yamacraft
0
5.2k
開発用途で Realtime Databaseを 導入した話
yamacraft
2
4.7k
ciecleci/androidのOpenSSLに気をつけよう
yamacraft
0
750
Realtime Databaseに向いてる・向いてないサービス
yamacraft
0
1k
社内用アプリでFirebaseを使っている話
yamacraft
2
2.1k
Other Decks in Technology
See All in Technology
生成AI時代のIAMのマニアックな話
takuros
6
2.8k
慶應義塾大学 AI実践05 論文執筆の仕組み化
keio_smilab
PRO
7
3.8k
AI時代に求められる優秀なTechLeadの振る舞い
pospome
11
15k
re:Invent2026 事前勉強会 歴史と愉しみ方10分LT編
toshi_atsumi
0
170
HQ駆動開発で最高のAI-Contextを作ろう
sansantech
PRO
1
120
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
530
An Introduction to Context Ontology Accelerator (teaching AI agents what your data means)
inariku
PRO
1
200
Gifu WordPress Meetup #200 に向けて、私たちには何ができるだろうか?/ 2026-11-07 Gifu WordPress Meetup
torounit
0
240
AIエージェントの監視、思考を見るか行動を見るか / Monitoring AI Agents: Thoughts or Actions
yusukeshimizu
2
180
JAWSコミュニティに 参加して1年経った結果
ssakita
0
120
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.2k
サボる子はいねぇがー!AgentCoreハーネスの脆弱性に学ぶ、エージェントの入力バリデーション
iwamot
PRO
5
320
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
WCS-LA-2024
lcolladotor
0
990
The SEO identity crisis: Don't let AI make you average
varn
0
630
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
GraphQLとの向き合い方2022年版
quramy
50
15k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Between Models and Reality
mayunak
4
570
Building the Perfect Custom Keyboard
takai
2
950
Transcript
Firebase crash report ͷ࣮ફతಋೖ @yamacraft
ਆઘFirebaseษڧձ #1ͱ ʢ΄΅ʣಉ͡༰Ͱ͢
profile • @yamacraft (Wataru Yamada) • LeadingMark, inc / team
Y.G.E. • Mobile Application Engineer
https://www.recme.jp/
Androidʹ͓͚Δ Firebase crash reportͷ Λ͠·͢ʢ˞ʣ
What’s Firebase crash report? • ΫϥογϡϨϙʔτऩूػೳ • ແྉͰ͑Δʢॏཁʣ • AndroidͳΒdependenciesʹՃͤ͞Δ͚ͩ
Ͱಈ࡞͢Δʢॏཁʣ
ྨࣅαʔϏεʢൺֱରʣ
AndroidͰͷಋೖํ๏ • {project_root}/build.gradleʹҎԼΛهड़
AndroidͰͷಋೖํ๏ • app/build.gradleʹҎԼΛهड़
ΞϓϦΫϥογϡޙͷLogCat
ίϯιʔϧը໘
ίϯιʔϧը໘
ίϯιʔϧը໘
ίϯιʔϧը໘
ॾҙ • CrashlyticsͷΑ͏ͳΫϥελCloseཧػೳ͕ͳ͍ • Google Play Service͕ೖ͍ͬͯͳ͍ͩͱ͑ͳ͍ • FirebaseCrashSenderServiceͰcom.google.gmsύοέʔδͷΫ ϥεΛ͍ͬͯΔͨΊ
• ͳΜ͔ApplicationΫϥε͕ϚϧνϓϩηεͰ࣮ߦ͞ΕΔՄೳੑ͕͋ ΔΒ͍͠ʢະݕূʣ • https://firebase.google.com/docs/crash/android#known-issues
QɿCrashlyticsʹൺΔͱ ͪΐͬͱඍົ͡Όͳ͍ʁ ʢҠߦ͢Δ΄Ͳ͡Όͳ͍ʁʣ
Aɿͦ͏ࢥ͏
Aɿ͏ͳΒʢCrashlytics ͱʣซ༻͕͍͍͔
࣮ફฤ
࣮ʹ͏্Ͱߟྀ͍ͨ͜͠ͱ • ΫϥογϡҎ֎ͰΫϥογϡϨϙʔτΛૹ Γ͍ͨʢϩάΛஷΊ͍ͨʣ • Crashlyticsͷcore.log() core.logException()ͱಉͷػೳ • ಡԽΛ͔͚ͯΩνϯͱΤϥʔՕॴ͕ಛఆ Ͱ͖ΔΑ͏ʹ͢Δ
ΫϥογϡҎ֎Ͱϩάૹ৴ • FirebaseCrash.log(String message) • ϩάΛஷΊΔ • ͜ͷ࣌Ͱૹ৴͠ͳ͍ʢΫϥογϡϨϙʔτ ͷૹ৴࣌ʹ߹ΘͤͯૹΒΕΔʣ •
FirebaseCrash.report(Throwable throwable) • ʮඇக໋తΤϥʔʯͱͯ͠ૹ৴͢Δ
ίϯιʔϧը໘
ྫɿTimber.TreeͰରԠ
proguardରԠ • crashlyticsͱಉ༷ͷઃఆͰOK • ϚοϐϯάϑΝΠϧίϯιʔϧʹૹΔͨΊ ʹ͏
ίϯιʔϧը໘
·ͱΊ • Google Play Service͕ೖ͍ͬͯͳ͍Ͱͷར༻ߟྀ͍ͯ͠Δ߹Φε εϝ͠ͳ͍ • Kindleͱ͔ɺத՚λϒϨοτܥͱ͔ • CrashlyticsͰΕΔ͜ͱେମͰ͖ͦ͏ʢίϯιʔϧը໘Λআ͘ʣ
• ಛԽͨ͠ϝϦοτਖ਼ݟͨΒͳ͍ɻࠓޙʹظɻ • iOS/Android/WebΛҰͭͷϓϩδΣΫτͰ·ͱΊΒΕΔͷɺ͍͍͜ͱ ͳͷ͔͠Εͳ͍ʢσϝϦοτʹͳΓ͑ͦ͏ʣ • analyticsnotificationͱͷབྷΈʹظ
͓·͚
iOSΞϓϦʹFirebase crashೖΕ·ͨ͠˞
iOS൛ͷΫϥογϡϨϙʔτ Ͳ͏ͬͯૹΒΕΔͷ͔ʁ • Ϋϥογϡ࣌ʹϩάΛอଘ͠ɺ࣍ճىಈ࣌ʹ ૹ৴͢ΔΑ͏ͳܗͰ࣮͞Ε͍ͯΔͬΆ͍ • ͭ·ΓΫϥογϡͯ͠ೋͱىಈͯ͘͠Εͳ ͍ͱใ͕ͱΕͳ͍
iOS൛ͷ࣮࣌ͷҙ • ParseCrashReportͱॏෳΤϥʔ͕ൃੜ͢Δ • GoogleʮnotificationʹҠߦ͠Ζʯ
͓͠·͍ • https://firebase.google.com/docs/crash/ • [Qiita]Firebase crashͷಋೖTipsʢAndroidฤʣ • http://qiita.com/yamacraft/items/bc224ea7003c763f7118 • [Qiita]Firebase
crashͱParseCrashReportingͰduplicate symbolΤϥʔ͕ൃੜ͢Δ • http://qiita.com/yamacraft/items/7bd6b45d7d08b5cbaeec