Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Crash Fast - Square's approach to Android crashes

1,719 views

Published on

Slides for my talk at the Airbnb Android meetup: https://www.airbnb.com/meetups/q2d349kde-android-frameworks-from-airbnb-and-square

The Square Register Android app has few crashes. Getting there requires a systematic approach: coding defensively, gathering information, measuring impact and improving architecture.

This talk presents our concrete steps towards lowering the crash rate, from the general philosophy to the tools we use, together with real crash examples.

Published in: Engineering
  • Be the first to comment

Crash Fast - Square's approach to Android crashes

  1. 1. Crash Fast Square’s approach to Android crashes Pierre-Yves Ricau / @Piwai
  2. 2. Fixing requires reproducing
  3. 3. Support Static info
  4. 4. History: high level log
  5. 5. Current state
  6. 6. Heap Bitmap
  7. 7. Heapdump
  8. 8. Dev crash handler
  9. 9. WIP: detecting leaks
  10. 10. Exception = something unexpected happened
  11. 11. Defensive programming
  12. 12. Offensive programming
  13. 13. Crash fast
  14. 14. • Integration tests • Manual tests • Internal release • Beta • Progressive Rollout
  15. 15. • Reproducing => fixing • Static info + history + state • Crash Fast • Progressive rollout
  16. 16. Questions? cash.me/$hit ! @Piwai

×