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の実践的導入
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
yamacraft
July 08, 2016
Technology
790
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Firebase crashの実践的導入
2016/07/08(金)に行われた、神泉Firebase勉強会 #1で発表した内容の資料です
yamacraft
July 08, 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
Deep Data Security 機能解説
oracle4engineer
PRO
3
1k
Maestro MCPとClaude Code Skillsによる自律的なE2Eテスト支援
asmz
0
420
Consistency for mere mortals - A gentle guide to consistency
ufried
0
120
試験勉強はGrokBotでやれ
maigo999
0
110
Building Audio Plugin Ecosystem for Android in 2026
atsushieno
2
150
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
800
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
1
210
OneLakeをデータソースにした AI Search(Foundry IQ)の ライフサイクル管理
ryuseiiida
0
230
Sizing, Benchmarking and Performance Tuning Apache Flink Clusters
rmetzger
0
120
攻撃 3 時間 vs 復旧 10 時間。アクセスキー流出の非対称性を体感するために CTF を作った話
kazzpapa3
1
150
Sinatra on PicoRuby ローカルでセルフホスト
bash0c7
0
100
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.1k
Featured
See All Featured
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Marketing to machines
jonoalderson
1
6k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
450
Building Adaptive Systems
keathley
44
3.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
290
Building Flexible Design Systems
yeseniaperezcruz
330
41k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Transcript
Firebase crash ͷ ࣮ફతಋೖ @yamacraft
profile • @yamacraft (Wataru Yamada) • LeadingMark, inc / team
Y.G.E. • Mobile Application Engineer
https://www.recme.jp/
Androidʹ͓͚Δ Firebase crashͷΛ͠·͢
What’s Firebase crash? • ΫϥογϡϨϙʔτऩूػೳ • ແྉͰ͑Δʢॏཁʣ • AndroidͳΒdependenciesʹՃͤ͞Δ͚ͩ Ͱಈ࡞͢Δʢॏཁʣ
AndroidͰͷಋೖํ๏ • app/build.gradleʹҎԼΛهड़ ˞DPSF͍Βͳ͍͔ʜ
ΞϓϦΫϥογϡޙͷ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ΛҰͭͷϓϩδΣΫτͰ·ͱΊΒΕΔͷɺ ͍͍͜ͱͳͷ͔͠Εͳ͍ʢσϝϦοτʹͳΓ͑ͦ͏ʣ
͓·͚
iOSΞϓϦʹFirebase crashೖΕ·ͨ͠˞
iOS൛ͷΫϥογϡϨϙʔτ Ͳ͏ͬͯૹΒΕΔͷ͔ʁ • Ϋϥογϡ࣌ʹϩάΛอଘ͠ɺ࣍ճىಈ࣌ʹ ૹ৴͢ΔΑ͏ͳܗͰ࣮͞Ε͍ͯΔͬΆ͍ • ͭ·ΓΫϥογϡͯ͠ೋͱىಈͯ͘͠Εͳ ͍ͱใ͕ͱΕͳ͍
iOS൛ͷ࣮࣌ͷҙ • ParseCrashReportͱॏෳΤϥʔ͕ൃੜ͢Δ • GoogleʮnotificationʹҠߦ͠Ζʯ
͓͠·͍ • [Qiita]Firebase crashͷಋೖTipsʢAndroidฤʣ • http://qiita.com/yamacraft/items/ bc224ea7003c763f7118 • [Qiita]Firebase crashͱParseCrashReportingͰduplicate
symbolΤϥʔ͕ൃੜ͢Δ • http://qiita.com/yamacraft/items/ 7bd6b45d7d08b5cbaeec