Vuforia Android 6 Camera Error

简介:



环境

引擎: Unity 5.3.6f1

SDK: Vuforia 6.0.112

测试系统:Android 4.2/4.3 6.0

Android 6出错

在Android 6下Vuforia打印的日志是相机初始化正常,但有系统的error日志打印

复制代码
01-03 19:22:02.322: E/AR(7796): CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.
01-03 19:22:02.892: E/CameraService(493): companion_disable property set to enable
01-03 19:22:02.902: E/Parcel(493): Reading a NULL string not supported here.
01-03 19:22:02.902: E/SecCameraCoreManager(493): initialize1
01-03 19:22:02.912: E/mm-camera-isp2(536): isp_module_start_session:142 session id 3
01-03 19:22:02.912: E/mm-camera(536): stats_module_start_session: E, kur sessionid=3, module=0xb66ffb20
01-03 19:22:02.912: E/mm-camera(536): aec_module_start_session E kur module 0xb66ffbe0 sessionid=196608
01-03 19:22:02.922: E/AEC_PORT(536): aec_port_init kur aec should be initialized
01-03 19:22:02.922: E/mm-camera(536): stats_port_init: E
01-03 19:22:02.922: E/mm-camera(536): stats_port_init: X
01-03 19:22:02.922: E/mm-camera-isp2(536): isp_trigger_thread_func:178 isp_new_thread trigger thread start
复制代码

表现如下,相机拍摄的画面无法呈现出来,有个对角线分隔。

image

解决办法

方法一:升级Vuforia 到目前的最新版 6.2.6 (解决)

方法二:修改AndroidManifest.xml的targetSdkVersion为23(Android 6) (未测试)

<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />

本文转自赵青青博客园博客,原文链接:http://www.cnblogs.com/zhaoqingqing/p/6246476.html,如需转载请自行联系原作者

相关文章
|
10月前
|
Android开发 开发者
Error:Could not find com.android.support:appcompat-v7:27.0.2.
Error:Could not find com.android.support:appcompat-v7:27.0.2.
|
10月前
|
开发工具 Android开发 git
解决Android AAPT: error: resource android:attr/lStar not found. 问题
解决Android AAPT: error: resource android:attr/lStar not found. 问题
684 0
|
10月前
|
Android开发
【Bug】Android resource linking failed和error: failed linking references.
【Bug】Android resource linking failed和error: failed linking references.
|
7月前
|
Android开发 Docker 容器
docker中编译android aosp源码,出现Build sandboxing disabled due to nsjail error
在使用Docker编译Android AOSP源码时,如果遇到"Build sandboxing disabled due to nsjail error"的错误,可以通过在docker run命令中添加`--privileged`参数来解决权限不足的问题。
1402 1
|
9月前
|
Java API Android开发
技术经验分享:Android源码笔记——Camera系统架构
技术经验分享:Android源码笔记——Camera系统架构
85 0
|
10月前
|
开发工具 Android开发 Windows
Android应用] 问题2:ERROR: unknown virtual device name:
Android应用] 问题2:ERROR: unknown virtual device name:
61 2
|
9月前
|
API Android开发
57. 【Android教程】相机:Camera
57. 【Android教程】相机:Camera
112 0
|
10月前
|
Android开发 开发者
安卓投屏神器 Scrcpy安 报错ERROR: Could not find any ADB device
使用Scrcpy安卓投屏工具时遇到报错,问题根源是未开启开发者模式。解决步骤:进入设置,点击【关于手机】→连续点击版本号激活开发者模式,然后在【系统设置】→【开发者选项】中开启USB调试。参照此方法后可正常执行。Scrcpy软件下载链接和GitHub页面也已提供。
1095 1
|
10月前
解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com
解决Error:All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com
|
10月前
|
Android开发
android camera系列
android camera系列
49 0

热门文章

最新文章