beakpad库链接

https://github.com/xfmax/FixedBreakPad

qt android 

https://github.com/wk8/qt-breakpad

https://github.com/JPNaude/dev_notes/wiki/Using-Google-Breakpad-with-Qt

android ndk使用以下方法

直接使用库:https://github.com/yinyinnie/breakpad-for-android/sample/breakpad/libs/

使用r12b ndk 支持armeabi armeabi-v7a

使用r16b ndk 支持armeabi-v8a

使用过官方的breakpad容易编译失败,很多资源被和谐

https://www.jianshu.com/p/4dcbcd06bd90

// 下载c++ 异常捕获库
// 参考文档https://www.jianshu.com/p/c1ff71c9b5ef
us@ubuntu:/opt/code/$ git clone https://github.com/yinyinnie/breakpad-for-android
us@ubuntu:/opt/code/breakpad-for-android/third_party$ https://github.com/xfmax/FixedBreakPad
// 官方地址,需要依赖过多不建议使用 git clone https://github.com/google/breakpad.git
https://github.com/alateeq99/linux-syscall-support/tree/master/lss

// 下载qml 异常捕获库
us@ubuntu:/opt/code/$ git clone https://github.com/zhengtianzuo/QtQuickExamples/tree/master/QmlLog4Qml

us@ubuntu:/opt/code/breakpad-for-android$ vim Application.mk
  1 APP_STL := stlport_static
  2 APP_ABI := armeabi armeabi-v7a #all #armeabi-v8a支持有问题,根据需要的进行支持
  3 APP_CXXFLAGS := -std=c++11 -D__STDC_LIMIT_MACROS
  4 APP_PLATFORM := android-15
01-16 18:34