1

I want to collect the C++ side crash information of my Android app using breakpad.

I have build the breakpad toolchain successfully, and I can symbolicate stack traces correctly.

My question is :

How to upload the minidump files to my server on Android? Is there a solution in breakpad source code?

Or I should implement this all by myself?

Anybody can help me?

Community
  • 1
  • 1
Omega.yue
  • 116
  • 11

2 Answers2

2

What a pity that nobody answer this question... So I just implement this upload operation all by myself.

Omega.yue
  • 116
  • 11
  • 1
    This was the right answer, there's no code included in Breakpad to upload minidumps on Android. The Android SDK provides HTTP libraries, so it's not that hard to implement. You can find the code that Firefox uses on Android here: http://hg.mozilla.org/mozilla-central/annotate/2949e808ed33/mobile/android/base/CrashReporter.java#l243 – Ted Mielczarek Apr 11 '13 at 12:23
  • I'd like to ask same question for Windows, but I'm pretty my question would be close as off-topic. – Jack Mar 23 '18 at 15:29
2

You can use this example code to upload breakpad crashes to hockey: https://github.com/ashtom/breakapp

I've done the same for my project and works fine. Hockey has an api that you can access all the data. Or you use their backend.

Daniel Ryan
  • 6,976
  • 5
  • 45
  • 62