-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen after running ViroSample #115
Comments
Hi @rammuk, did you add your API key to your App.js file? Step 6 in the getting started guide:
If that is not the issue, can you tell us whether this issue is on AR / VR or both? |
Hi @dam00n Yes I did add it, |
Hi @rammuk , ARKit is only supported on iPhone 6s and above which is why you are seeing the black screen. Is there is use case for why you want to build AR for non-supported devices? If so, we could look into seeing how to support that use case but right now it is unclear to us. |
Hi @dam00n same outcome using iPhone 7 with ios 11.2 |
Hi @rammuk , interesting. Usually, the black screen is due to missing or incorrectly entered API key apiKey:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"or unsupported device. Can we get a little more information from you, so we can investigate further?
|
HI @dam00n Checked again the API key and it's ok
When I am using the Viro media app and Entering Testbed it's also working fine Hope the information will help Thanks |
Hi @rammuk, Sorry for the delayed response as we were preparing our latest release. That's interesting that you can't seem to build the ViroSample via Xcode. Can you try the following:
Also, any log output that you see when running the app through Xcode would also be helpful. We've been unable to repro this issue on our various test devices. Thanks |
Hi Danny, ARCore is now supported on Samsung Edge devices. I can now download the app from Playstore. The AR and VR samples are working fine. I can see both samples. However, I get a black screen when running the quick start sample on my device. The api key is correct n I get the ngrok address. There was no option for me to choose between AR or VR. Only allows me to enter settings to select the choice of viewer. I tried to set the default as AR in the codes and also amended the starting text "Hello World". However, i still just get a blank black screen with Hello World text. Shaking my phone also doesn't make the options (to set AR or VR) show up. Please advise. Thanks |
Hi @myhendry sorry you are running into issues. What version of Android are you running on?
https://docs.viromedia.com/docs/develop-with-viro Are you able to run other AR apps on your S7 edge using ARCore? |
Hi Danny, mine is Samsung Galaxy S7 Edge SM-G935FD. My mac and mobile is not set up to use ADB. I will look that up and try the sample app AR Hello World provided is working fine I changed the Hello World text and try to run the app. However, it still shows Hello World with a blank background even though the Hello World text has been changed. It seems the file has not been loaded at all. Hope the info provided will help your team in debugging. Looking forward to trial your awesome tool! Thanks :) |
Hi Danny, i set debug={true} on SceneNavigator and it seems to be working now! I will test it further next couple of days and revert if any issues. Thanks :) |
@myhendry awesome, glad you got it working. And yes, please let us know if you encounter additional issues. I am going to close this issue. |
Hi Danny, sorry for the trouble. my Samsung Galaxy Edge android prompted me to update the system files. After i updated, can't seem to update the ar app now. It seems any change is not updated to the mobile. The AR feature still work ok i set up adb and got my mobile device connected. I run the adb script provided, my mobile reacted; however, there is no update to my mobile device. d issue seems to be the desktop connection to the mobile |
Hi @myhendry, When you connect your device to your computer, can you confirm that you can see your device in ADB with the If that works then maybe you can try to connect to you packager server by reverse tethering over usb: Then in the testbed app, you can use the ip address: Let me know if that doesn't work for you and what error you see. Andy |
Hi Andy, thanks for your prompt response. Entering the ip address: 127.0.0.1 works now! Thanks |
Hi, first thanks for your amazing job on AR/VR ! After having followed the instructions "Quick Start (Windows)" and "Integrating with React Native Projects [for Android]", the VR "Hello World" experience works but the AR one doesn't. Indeed, I am facing a black screen with just the "Analysing AR..." message just as @myhendry for AR. Any other suggestions to solve this problem ? I'm working with :
Thank you in advance ! |
Hi @MayeulGarreau, thanks for the kind words and sorry to hear you are having issues. Can you try reloading your scene either by shaking the device and hitting reload or by using ADB. More details here on our Testbed doc page -> https://docs.viromedia.com/docs/develop-with-viro If you are still having issues after running through that let us know |
Hi Danny, thanks for the quick answer! I tried what you advised, but it didn't work :( . I later found the reason of my problem: android camera has crashed and i didn't noticed it till then --' Thanks again for your help! |
@MayeulGarreau glad you were able to resolve it. Interesting that your camera had crashed. Let us know if you have any further issues |
In case it helps anyone else, my problem was I hadn't disabled Instant Run. https://developer.android.com/studio/run?authuser=1#disable-ir This is mentioned in the documentation, I just missed it. https://docs.viromedia.com/docs/installing-viro-android , last item under step 3. (My situation was on Android, I could get AR & VR to work with the Viro Media app, and VR worked with the ViroSample code, but if I tapped AR in the ViroSample, I just got a black screen with no buttons or "Hello World" text.) |
Hello i'm trying to run ViroSample app on my devices (Samsung j5 prime & Huawei p30 lite) everything is ok and VR experience works well but when choose AR experience in samsung app crashes and in huawei it sticks in a black screen. any approach? |
i unable to run AR test sample and test bed app in moto x-style . droid moto and huwai p9 lite |
Same here not working on a Samsung device, I read on the viro website that viro does not require API key anymore. I even checked their website for registration to register and get API key the page does not exist. |
Hi
I am trying to run the Viro sample app o my device
iPhone 6 with iOS 11
xcode 9.2
Everything seems to work fine ( no errors ) except when the app lunch I get a blank screen and nothing happens
Any suggestions?
The text was updated successfully, but these errors were encountered: