Log in or register to post comments

Black screen on Android phone

SDK 10.0
August 17, 2021 - 6:46am #1

Hello. I created a Vuforia app which is running perfectly fine on my webcam. When i tried it on my phone, the UI loads but the AR camera is showing black screen. I tried it on Samsung Galaxy A51 (Android version 11) and on Samsung Galaxy A5. The wierd part is that its running completely fine on an older Android phone - LG K9. How can I fix this issue?

AttachmentSize
Image icon 1.jpg3.28 KB
SDK Version: 

Black screen on Android phone

October 28, 2021 - 3:52am #7

Hey there,

 

This is related to Google removing ARCore support for 32-bit apps on 64-bit devices. Please read here: https://developers.google.com/ar/64bit

You should make sure you build your app as well for 64-bit devices. ahmedpasic's comment explains how.

I hope that helps.

 

Kind regards,

Patrick Scheper

Technical Community Manager

Black screen on Android phone

October 27, 2021 - 11:28am #6

same issue from my end. works fine in unity but when I install it in my android phone it displayes black screen. the app asked for camera permission, allowed it but still black screen. 

Black screen on Android phone

August 22, 2021 - 2:36am #5

Hi.

I don't think we had the same problem but I'm going to give you my solution I figured out. In project setting instead of Mono scripting backend I used IL2CPP and targeted both ARMv7 and ARM64 architectures. I hope this helps someone who has the same problem.

Black screen on Android phone

August 21, 2021 - 1:58pm #4

I'm having the exact same issue, 4 of my applications just stopped working on my android device (Samsung Galaxy S20+[Exynos]) and display a black screen.

After some debugging i found a few things -

* I'm receiving 7 errors, starting with "Positional device tracker failed to initialize." and then the rest is Vuforia failing basically.

after uninstalling Google Services for ARCore, i was able to receive a feed from the camera, though i now got only one error- "SmartTerrain failed to initialize".

I would really appreciate a quick fix, as i mentioned- i have 4 applications failing to start on some devices, 2 of them commercial at the company i work in.

 

Thanks!

Black screen on Android phone

August 20, 2021 - 8:19am #3

Hello,

sorry for the late reply. I just tried the Vuforia Core Samples and the AR camera works fine. On my project (the one where the camera isn't working) I use Unity 2020.3.16f1. I also tried it on Unity 2019.4.29f1 and that version isn't giving me better results. Since the samples work fine, I wonder what the difference is. Is it possible to fix it without always importing this Core Sample Asset?

 

Thanks in advance, Ahmed Pašić

Black screen on Android phone

August 18, 2021 - 7:49am #2

Hey there,

 

Would you be able to build the core samples and see if the issue keeps arising? And which Unity version are you running? Also I recommend to make sure that ARCore is updated to the latest version.

 

Kind regards,

Patrick Scheper

Technical Community Manager

Log in or register to post comments