Firefly开源社区

打印 上一主题 下一主题

[Android] 百度人脸识别SDK+AIO-3399J

37

积分

0

威望

0

贡献

技术小白

积分
37

百度人脸识别SDK+AIO-3399J

发表于 2020-12-7 18:44:15      浏览:6209 | 回复:0        打印      只看该作者   [复制链接] 楼主
我购买烧录了android 8.1 系统的AIO 3399J,出现闪退,log打印信息如下:

12/07 18:36:34: Launching 'app' on rockchip AIO-3399J.
$ adb shell am start -n "com.baidu.idl.face.demo/com.baidu.idl.face.main.activity.start.StartActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 3244 on device 'rockchip-aio_3399j-192.168.1.226:5555'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/zygote: Late-enabling -Xcheck:jni
D/AndroidAutoSize: designWidthInDp = 480, designHeightInDp = 800, screenWidth = 1920, screenHeight = 1080
D/AndroidAutoSize: initDensity = 1.5, initScaledDensity = 1.5
D/AndroidAutoSize: com.baidu.idl.face.main.activity.start.StartActivity used the global configuration.
D/AndroidAutoSize: The com.baidu.idl.face.main.activity.start.StartActivity has been adapted!
    StartActivity Info: isBaseOnWidth = true, designWidthInDp = 480.000000, targetDensity = 4.000000, targetScaledDensity = 4.000000, targetDensityDpi = 640, targetXdpi = 4.000000
I/FaceSDK --value--: <line 78: Java_com_baidu_idl_main_facesdk_FaceAuth_nativeSetActiveLog> 开启日志
D/OpenGLRenderer: HWUI GL Pipeline
I/mali_so: [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext;
    arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '7@0'.
D/mali_so: [File] : hardware/rockchip/mali_so_src_of_midgard/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext;
    current process is NOT sf, to bail out.
I/com.baidu.idl.face.demo: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 2
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
I/[Gralloc]: Got handle 1 for fd 59
    leave, w : 1920, h : 1008, format : 0x1,internal_format : 0x1, usage : 0xb00. size=7741440,pixel_stride=1920,byte_stride=7680
    leave: prime_fd=59,share_attr_fd=60
I/[Gralloc]: Got handle 2 for fd 64
    leave, w : 640, h : 196, format : 0x1,internal_format : 0x1, usage : 0xb00. size=501760,pixel_stride=640,byte_stride=2560
    leave: prime_fd=64,share_attr_fd=65
D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
I/[Gralloc]: Got handle 3 for fd 67
    leave, w : 920, h : 196, format : 0x1,internal_format : 0x1, usage : 0xb00. size=727552,pixel_stride=928,byte_stride=3712
    leave: prime_fd=67,share_attr_fd=68
W/libEGL: EGLNativeWindowType 0xd4331808 disconnect failed
D/AndroidAutoSize: com.baidu.idl.face.main.activity.start.ActivitionActivity used the global configuration.
D/AndroidAutoSize: The com.baidu.idl.face.main.activity.start.ActivitionActivity has been adapted!
    ActivitionActivity Info: isBaseOnWidth = true, designWidthInDp = 480.000000, targetDensity = 4.000000, targetScaledDensity = 4.000000, targetDensityDpi = 640, targetXdpi = 4.000000
I/zygote: Do partial code cache collection, code=9KB, data=22KB
    After code cache collection, code=9KB, data=22KB
    Increasing code cache capacity to 128KB
I/zygote: Do partial code cache collection, code=9KB, data=40KB
I/zygote: After code cache collection, code=9KB, data=40KB
    Increasing code cache capacity to 256KB
    Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
W/u.idl.face.demo: type=1400 audit(0.0:630): avc: denied { read } for name="platform" dev="tmpfs" ino=15101 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:block_device:s0 tclass=
    type=1400 audit(0.0:631): avc: denied { open } for path="/dev/block/platform" dev="tmpfs" ino=15101 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:block_device:s0 tclass=
    type=1400 audit(0.0:632): avc: denied { read } for name="cid" dev="sysfs" ino=19739 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=f
    type=1400 audit(0.0:633): avc: denied { open } for path="/sys/devices/platform/fe330000.sdhci/mmc_host/mmc0/mmc0:0001/cid" dev="sysfs" ino=19739 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=f
    type=1400 audit(0.0:634): avc: denied { getattr } for path="/sys/devices/platform/fe330000.sdhci/mmc_host/mmc0/mmc0:0001/cid" dev="sysfs" ino=19739 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=f
E/License-SDK: Load liantian ac succeed
A/libc: stack corruption detected (-fstack-protector)
    Fatal signal 6 (SIGABRT), code -6 in tid 3244 (u.idl.face.demo), pid 3244 (u.idl.face.demo)


百度离线SDK5.0,在google Pixel 2上验证可以运行。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表