Android 异常错误捕获:breakpad

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

转载于:https://my.oschina.net/u/615762/blog/3002288

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值