qt调试android程序崩溃,使用qt5开发的Android应用程序合并了AWS C++库崩溃
我想开发一种
Android应用程序
它在行刑一开始就崩溃了。
我在用
第5.11节
我认为配置很好(我正在使用
上一个Android SDK和ndk10e
)因为我可以运行一个简单的Android应用程序
我在用最后一个
AWS C++库
. 我用这个cake命令编译了这个库:
cmake -DBUILD_ONLY="email;cognito-identity;lambda;core;cognito-idp;identity-management" -DNDK_DIR="/Downloads/android-ndk-r10e" -DANDROID_STL=gnustl_shared -DTARGET_ARCH=ANDROID -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="/aws-sdk-cpp/aws_build_android/build_dynamic_output" /aws-sdk-cpp/aws_build_android/aws-sdk-cpp-master
正如我所说,应用程序崩溃时会出现以下终极调试消息:
F libc:致命信号6(SIGABRT),tid 8731中的代码-6(qtMainLoopThrea)
以下是应用程序调试消息的完整列表:
E Zygote : isWhitelistProcess - Process is Whitelisted
E libpersona: scanKnoxPersonas
E libpersona: Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
W SELinux : SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 RAM:SEPF_SM-G930F_8.0.0_0018, [-1 -1 -1 -1 0 1]
I SELinux : SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=org.qtproject.example.crio_Android
I zygote : Late-enabling -Xcheck:jni
D TimaKeyStoreProvider: TimaKeyStore is not enabled: cannot add TimaSignature Service and generateKeyPair Service
D ActivityThread: Added TimaKeyStore provider
I zygote : no shared libraies, dex_files: 1
I zygote : Do partial code cache collection, code=31KB, data=27KB
I zygote : After code cache collection, code=31KB, data=27KB
I zygote : Increasing code cache capacity to 128KB
W System : ClassLoader referenced unknown path:
I QtCore : Start
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Network.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Qml.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Gui.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Quick.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Widgets.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5Charts.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5QuickParticles.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5QuickTemplates2.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/app/org.qtproject.example.crio_Android-YwAVQhCj0m2GFmkjJTkxTg==/lib/arm/libQt5QuickControls2.so" has unsupported flags DT_FLAGS_1=0x81
W linker : "/data/data/org.qtproject.example.crio_Android/qt-reserved-files/plugins/platforms/android/libqtforandroid.so" has unsupported flags DT_FLAGS_1=0x81
I Qt : qt started
W linker : "/data/data/org.qtproject.example.crio_Android/qt-reserved-files/plugins/bearer/libqandroidbearer.so" has unsupported flags DT_FLAGS_1=0x81
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 674 us, width=30, height=30
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 1560 us, width=66, height=96
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 1363 us, width=66, height=96
I zygote : Do partial code cache collection, code=59KB, data=54KB
I zygote : After code cache collection, code=59KB, data=54KB
I zygote : Increasing code cache capacity to 256KB
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 413 us, width=5, height=5
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 527 us, width=30, height=30
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 593 us, width=30, height=30
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 412 us, width=5, height=5
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 461 us, width=12, height=48
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 457 us, width=12, height=48
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 1234 us, width=66, height=48
D skia : Encode PNG Singlethread processname=org.qtproject.example.crio_Android : 375 us, width=2, height=2
D OpenGLRenderer: HWUI GL Pipeline
D ViewRootImpl@12633f4[QtActivity]: setView = DecorView@3d0a71d[QtActivity] TM=true MM=false
D ViewRootImpl@12633f4[QtActivity]: dispatchAttachedToWindow
V Surface : sf_framedrop debug : 0x4f4c, game : false, logging : 0
D ViewRootImpl@12633f4[QtActivity]: Relayout returned: old=[0,0][0,0] new=[0,0][1080,1920] result=0x7 surface={valid=true 3761723392} changed=true
I OpenGLRenderer: Initialized EGL, version 1.4
D OpenGLRenderer: Swap behavior 2
D libGLESv1: STS_GLApi : DTS, ODTC are not allowed for Package : org.qtproject.example.crio_Android
D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000, [1080x1920]-format:1
D OpenGLRenderer: eglCreateWindowSurface = 0xe7b37918
D ViewRootImpl@12633f4[QtActivity]: MSG_RESIZED_REPORT: frame=Rect(0, 0 - 1080, 1920) ci=Rect(0, 72 - 0, 0) vi=Rect(0, 72 - 0, 0) or=1
D ViewRootImpl@12633f4[QtActivity]: MSG_WINDOW_FOCUS_CHANGED 1
V InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@d6c9b60 nm : org.qtproject.example.crio_Android ic=null
I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
V InputMethodManager: Starting input: tba=android.view.inputmethod.EditorInfo@ad59819 nm : org.qtproject.example.crio_Android ic=null
W linker : "/data/data/org.qtproject.example.crio_Android/qt-reserved-files/plugins/styles/libqandroidstyle.so" has unsupported flags DT_FLAGS_1=0x81
**F libc : Fatal signal 6 (SIGABRT), code -6 in tid 8731 (qtMainLoopThrea)**
非常感谢你的帮助!
qt调试android程序崩溃,使用qt5开发的Android应用程序合并了AWS C++库崩溃相关推荐
- 从0到一开发微信小程序(2)——开发第一个小程序
文章目录 其他相关文章 1.创建项目 2.小程序代码目录介绍 2.1.描述整体的app.* 2.2.描述各自页面的pages下面的目录 其他相关文章 从0到一开发微信小程序(1)--申请账号并安装开发 ...
- 微信小程序从0到上线,程序员一个月开发一款小程序实录
前言:本人从事游戏开发多年,是一名饱受折磨的游戏前端开发人员.游戏这个行业越来越难做,加班越来越严重.正值行业转变之际,听闻微信小程序热火之时,我想偿试一下小程序制作,因此,一个月之后有了这篇文章:微 ...
- 仿京细菜谱微信小程序源码 云开发菜谱微信小程序源码
京细菜谱是一个美食分享网站,提供优质的家常菜谱大全,仿京细菜谱小程序源码为喜欢美食的朋友提供了很多的美食烹饪教程 让您轻松学会做美食.对不同食材和地域的饮食做了不同的分类和详细的做菜方法 分类十分详细 ...
- php开发桌面应用程序_使用PHP开发跨平台桌面应用程序的3种方法
php开发桌面应用程序 PHP as a cross-platform desktop app development language? Blasphemy! Nonetheless, it's p ...
- android 碎片技术,【移动开发】Android中强大的适配功能----Fragment(碎片)总结
[移动开发]Android中强大的适配功能----Fragment(碎片)总结 发布时间:2020-06-27 00:32:58 来源:51CTO 阅读:10233 作者:zhf651555765 作 ...
- 解决打开Android sdk manger D:\BaiduNetdiskDownload\开发工具\android' 不是内部或外部命令,也不是可运行的程序问题
在初次使用eclipse-ADT时,打开Android sdk manger 可能会报如下错误: 解决方法: 1.找到\sdk\tools下的Android.bat文件,用编辑文档打开 2.往下滑找到 ...
- android webview定位权限,混合开发安Android webview使用内置浏览器定位的权限
具体步骤: 一.添加权限: 二.设置webview.setting WebSettings settings = webView.getSettings(); settings.setGeolocat ...
- android framework,GitHub - zhaozepeng/Android_framework: android framework 用来快速开发的android框架...
android_framework an android framework in order for rapid development ##1.开发环境## 环境为android studio + ...
- python快递分拣小程序_利用Python开发的ATM小程序
最近在学习Python,便利用业余时间开发了一个模拟ATM抢银行的小程序,不废话,直接上程序 #!/usr/bin/env python #coding=utf-8 # Name: AtmCard.p ...
最新文章
- sqlalchemy mysql配置中怎么设置utf8_sqlalchemy 的设置及使用
- 牛客网题目——不用四则运算符号,计算两个数字的和
- 11 - java构造方法
- Linux下mysql源码包安装
- 【jQuery笔记Part3】03-jQuery项目:随机抽奖
- leetcode题库11--盛最多水的容器
- Python with 结构
- SQL中关于where后面不能放聚合函数(如sum等)的解决办法
- kafka 的经典教程
- C语言计算器详细教程(四则运算、小数、括号)
- turnserver.conf文件详解
- php 显示探针_X 探针(刘海探针)-免费开源 PHP 探针
- 中国移动开发者大会PPT集萃(一):核心技术与应用开发实践
- 江山三侠—Flash短片轻松学(第2季)
- 如何设置变更Word页面颜色?干货经验!怎样操作更改word背景颜色?
- 深度学习(图像方向)常见名词术语
- 《神奇的数学》读后感_《走进奇妙的数学世界》读后感
- 图像处理与机器视觉行业分析
- 字节跳动2019届校招笔试题
- Ubuntu16.04安装QQ和微信(亲测有效)