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
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.1k
開発用途で 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
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
410
野蛮なアジャイル [サイボウズ発!]組織の常識を覆した反骨のスクラム実践記 / Barbaric Agile - Enterprise Agile Study Group
ama_ch
0
110
今さら理解するウェブフォントver.2026
takanorip
3
920
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
190
Classmethod Company Deck
satoshi7
1
740
価値について
gree_tech
PRO
0
110
ウォンテッドリーの最近のプロダクトと技術の紹介
stomk
0
210
エンタメ企業のM&Aを支えるデータ基盤 ― 統合から店舗のリアルタイム分析まで / Data Engineering Summit 2026
genda
0
210
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
180
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
150
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
320
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
The Mindset for Success: Future Career Progression
greggifford
PRO
0
540
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Making the Leap to Tech Lead
cromwellryan
135
10k
From π to Pie charts
rasagy
1
400
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
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