嵌入式爱好者

查看: 259|回复: 1

[Android] QT on Android 上启动速度慢,需要10多秒。

[复制链接]

1

主题

1

帖子

9

积分

i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2019-1-8 15:21:44 | 显示全部楼层 |阅读模式
开启一个HelloWorld的App启动需要10多秒,请帮忙看下是什么问题,刷的是板子的原生固件
01-08 15:16:26.750 I/ActivityManager( 2734): Start proc org.qtproject.example.AndroidDemo for activity org.qtproject.example.AndroidDemo/org.qtproject.qt5.android.bindings.QtActivity: pid=3688 uid=10048 gids={50048, 3003, 1028, 1015}
01-08 15:16:26.760 W/SocketClient( 2342): write error (Broken pipe)
01-08 15:16:26.890 D/dalvikvm( 3688): Trying to load lib /data/data/org.qtproject.example.AndroidDemo/lib/libgnustl_shared.so 0x41b27b00
01-08 15:16:26.890 D/dalvikvm( 3688): Added shared lib /data/data/org.qtproject.example.AndroidDemo/lib/libgnustl_shared.so 0x41b27b00
01-08 15:16:26.890 D/dalvikvm( 3688): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidDemo/lib/libgnustl_shared.so 0x41b27b00, skipping init
01-08 15:16:26.890 D/dalvikvm( 3688): Trying to load lib /data/data/org.qtproject.example.AndroidDemo/lib/libQt5Core.so 0x41b27b00
01-08 15:16:26.900 D/dalvikvm( 3688): Added shared lib /data/data/org.qtproject.example.AndroidDemo/lib/libQt5Core.so 0x41b27b00
01-08 15:16:26.900 D/dalvikvm( 3688): Trying to load lib /data/data/org.qtproject.example.AndroidDemo/lib/libQt5Gui.so 0x41b27b00
01-08 15:16:26.910 D/dalvikvm( 3688): Added shared lib /data/data/org.qtproject.example.AndroidDemo/lib/libQt5Gui.so 0x41b27b00
01-08 15:16:26.910 D/dalvikvm( 3688): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidDemo/lib/libQt5Gui.so 0x41b27b00, skipping init
01-08 15:16:26.910 D/dalvikvm( 3688): Trying to load lib /data/data/org.qtproject.example.AndroidDemo/lib/libQt5Widgets.so 0x41b27b00
01-08 15:16:26.930 D/dalvikvm( 3688): Added shared lib /data/data/org.qtproject.example.AndroidDemo/lib/libQt5Widgets.so 0x41b27b00
01-08 15:16:26.930 D/dalvikvm( 3688): No JNI_OnLoad found in /data/data/org.qtproject.example.AndroidDemo/lib/libQt5Widgets.so 0x41b27b00, skipping init
01-08 15:16:26.930 D/dalvikvm( 3688): Trying to load lib /data/data/org.qtproject.example.AndroidDemo/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x41b27b00
01-08 15:16:26.940 D/dalvikvm( 3688): Added shared lib /data/data/org.qtproject.example.AndroidDemo/qt-reserved-files/plugins/platforms/android/libqtforandroid.so 0x41b27b00
01-08 15:16:26.940 I/Qt      ( 3688): qt start
01-08 15:16:26.950 W/audio_hw_primary( 2347): card 0, port 0 device 0x2
01-08 15:16:26.950 W/audio_hw_primary( 2347): rate 44100, channel 2 period_size 0xc0
01-08 15:16:26.950 D/dalvikvm( 3688): Trying to load lib /data/app-lib/org.qtproject.example.AndroidDemo-1/libAndroidDemo.so 0x41b27b00
01-08 15:16:26.950 D/dalvikvm( 3688): Added shared lib /data/app-lib/org.qtproject.example.AndroidDemo-1/libAndroidDemo.so 0x41b27b00
01-08 15:16:26.950 D/dalvikvm( 3688): No JNI_OnLoad found in /data/app-lib/org.qtproject.example.AndroidDemo-1/libAndroidDemo.so 0x41b27b00, skipping init
01-08 15:16:26.990 D/dalvikvm( 3688): GC_CONCURRENT freed 274K, 11% free 2924K/3264K, paused 2ms+3ms, total 26ms
01-08 15:16:27.000 D/libEGL  ( 3688): loaded /system/lib/egl/libEGL_VIVANTE.so
01-08 15:16:30.000 W/audio_hw_primary( 2347): do_out_standby... 1095311216
01-08 15:16:33.650 D/libEGL  ( 3688): loaded /system/lib/egl/libGLESv1_CM_VIVANTE.so
01-08 15:16:33.730 D/libEGL  ( 3688): loaded /system/lib/egl/libGLESv2_VIVANTE.so
01-08 15:16:33.810 E/BufferQueue( 2344): [org.qtproject.example.AndroidDemo/org.qtproject.qt5.android.bindings.QtActivity] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
01-08 15:16:33.810 D/OpenGLRenderer( 3688): Enabling debug mode 0
01-08 15:16:33.870 I/ActivityManager( 2734): Displayed org.qtproject.example.AndroidDemo/org.qtproject.qt5.android.bindings.QtActivity: +7s131ms
01-08 15:16:38.440 E/BufferQueue( 2344): [org.qtproject.example.AndroidDemo/org.qtproject.qt5.android.bindings.QtActivity] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
^C


回复

使用道具 举报

2

主题

3533

帖子

3219

积分

发表于 2019-1-8 17:41:54 | 显示全部楼层
您好
目前没有相关的方法经验,您可以参考一下这个链接希望能给您点帮助
https://bbs.csdn.net/topics/350246677
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|飞凌嵌入式 ( 冀ICP备12004394号-1

GMT+8, 2019-6-26 20:17

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表