灰色线条代替了ARCore应用程序构建中的相机馈送 [英] Gray lines instead of camera feed in ARCore app builds

查看:69
本文介绍了灰色线条代替了ARCore应用程序构建中的相机馈送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我按照Android快速入门 https://developers.google.com/ar/develop/java/quickstart ,我在手机(Galaxy S9)上看到的都是

When I build and run the "Hello Sceneform" and "Solar System" projects that I downloaded while following the Android Quickstart https://developers.google.com/ar/develop/java/quickstart, all I see on my phone (a Galaxy S9) are these shifting gray/black lines, with the moving ARCore hand/phone on top.

我可以毫不费力地从商店下载并运行ARCore应用. S9是我可以测试的唯一兼容ARCore的手机.我正在使用Android Studio 3.2预览版,Windows 10,ARCore 1.2和Android 8.0.0.

I can download and run ARCore apps from the store without a hitch. The S9 is the only ARCore-compatible phone I can test with. I'm using Android Studio 3.2 preview, Windows 10, ARCore 1.2, and Android 8.0.0.

当我尝试在任何仿真器设备上运行时,它会立即崩溃,然后再显示任何内容,这很可能是由于我认为我的台式机GPU不支持OpenGL ES 3.1,这是基于运行"adb logcat"时的输出| grep eglMakeCurrent".现在,我的目标只是让它在手机上运行.

When I try running on any emulator device, it immediately crashes before displaying anything, which is likely due to the fact that I don't think my desktop GPU supports OpenGL ES 3.1, based on the output when I run "adb logcat | grep eglMakeCurrent". Right now my goal is just to get it working on my phone, though.

推荐答案

Galaxy S9的灰色条是一个错误(请参阅:

The grey bars for the Galaxy S9 is a bug (see: https://github.com/google-ar/sceneform-android-sdk/issues/28).

截至7月18日,它仍然开放.

As of July 18th it is still open.

这篇关于灰色线条代替了ARCore应用程序构建中的相机馈送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆