Android 异常错误捕获:breakpad

beakpad库连接linux

https://github.com/xfmax/FixedBreakPadandroid

qt android c++

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

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

 

android ndk使用如下方法ubuntu

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

使用r12b ndk 支持armeabi armeabi-v7aui

使用r16b ndk 支持armeabi-v8agoogle

使用过官方的breakpad容易编译失败,不少资源被和谐c++11

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
相关文章
相关标签/搜索