Google VR Quick Start - Installation batch file failure

I’m working my way through the Google VR Quick Start guide and have a problem when it comes to executing the batch file that’s created, which is supposed to deploy the project to my device.
[(See part 4, down the page).][1]

The command line window is displayed showing the progress of the install, but disappears and there doesn’t seem to be any location that I’m aware of that keeps a log of it. I have however taken a couple of screen shots of the few attempts that I did hoping they will make sense to someone.

A couple that stood out were “Failures here indicate a problem with the device (connection or storage permissions) and are fatal.”, and “Failures here indicate storage problems (missing SD card or bad permissions) and are fatal.”

I don’t really know how to go about fixing whatever the issue/s might be.

I my case I have a Google Nexus 5, but this smartphone don’t have a SD card slot , but it has a nice Storage Space, and I dont understand why when you try to package needs a SD card :confused:

And that wasn’t the unique problem, I was trying for two days, generate the Android Build Files, Install and Uninstall androidworks with no success. and just get erros during the packing proccess.

when i notices of this line int the output:

LogPlayLevel: ERROR: SWT folder ‘lib\x86_64’ does not exist.

the solution was add a path on system advanced propierties in " Environment Variables" more information Android Development Reference | Unreal Engine Documentation, this link is a little old just Enviroment variables was Usefull to read, but one variable was missing. Variable name: ANDROID_SWT and specify the directory value: C:\NVPACK\android-sdk-windows\tools\lib\x86_64 this is my for example, and yes! I did a ATC package Finally!

But this Unjust life give me a critical punch when that SD error appears when its imposible put a SD card o my cell phone, a nice cell phone that works nice with cardboard apps for me. any help to let test my first tries to make a Google VR app?

And sorry for my english

Hello,

If the batch file completes its process successfully, it will automatically close.

What you’ll need to do is run monitor on your device, and then grab the device’s logs so that we can take a look at them and see what might be failing. We have not been able to reproduce this issue.

Hi Sean,
Here’s a log file that I created after another attempt. Hopefully it’s got the necessary info there.
link text

Thank you for the logs.

So, does the window close automatically without providing any sort of error message for you? Typically, the window closing indicates a successful run of the file, which would mean that the project should appear on your device when you unplug it. Could you run this process again and see if the file appears anywhere on the device after the window closes?

I’ve tried it again, a few times, and still nothing seems to show up on my device.
The only thing I can find when i do a search in Windows Explorer is an obb file called “main.1.com.YourCompany.VR_Test_1” sitting on the phones internal storage at “Xperia Z1 Compact > Internal Storage > obb > com.YourCompany.VR_Test_1”, but it’s dated over a week ago (on the 14th of June).
I’ll attach another log file if that helps any.
link text

Try running the batch file from a command prompt instead of double-clicking it. If you double-click it, it will disappear automatically upon completion, whether there have been errors or not. After you do this, please provide the error messages (if any) that you see.

Also, this can occur if the minimum SDK (21 for Google VR Quick Start) is higher than the version on the phone (which requires a 5.0 Lollipop minimum).

I gave it another go, this time from the command line like you suggested and still nothing appears on my phone, even though at the end it says installation successful. I do see a bunch of failures happening though, so maybe it has something to do with them.
The version of Android on my phone is 4.4.4. I seem to be unable to upgrade from that version, so I guess it is just as far as my model will allow.
Here’s what was printed out, but if you say the Android version must be 5.0 minimum, then I’m thinking I’ll need to get a new phone before I can try VR.
I’ve been thinking of getting a Nexus 6 which runs version 6.0, and I’m hoping it will run version N when it comes out. Maybe then I’ll have better luck.

Command prompt data

I’ll mark the topic as resolved for now, as it seems you’ll need to upgrade your device. Let me know if you run into any issues after doing so, and we’ll be glad to look into it.

Thanks. I should have it by the end of the week and will be able to test it then.

My Nexus 6 arrived and I’m still having problems, only this time the command window doesn’t close so I need to Ctrl-C stop the process.
Here is a screenshot and the log file (it wouldn’t upload, but here’s a link to my Google drive).
I have made several attempts, both executing the .bat file from windows explorer as well as from the command prompt, and I get the same results.

  • Are you able to Launch onto your Android device using a clean, blank project? If you haven’t tried to do this, please do so and provide the Output Log if it fails.
  • In your logs, I see these errors: 06-29 12:47:11.302: I/PackageManager(2152): Package doesn’t exist in get block uninstall com.YourCompany.VR_Test_1
    06-29 12:47:11.311: W/PackageManager(2152): Package named ‘com.YourCompany.VR_Test_1’ doesn’t exist. It may be worth spending some time googling these errors to see if a solution exists.
  • We’ve also tested this on our end, and we were able to get it to work as expected following the guide you provided, so it seems to be some sort of issue with the device, which is why I’d like to see if you are able to launch a normal project onto your device.

I made a new project following the Google VR Quick Start as before, only this time omitted the part where you create a material and apply it to the floor, then save the new level (all other projects I just followed the guide precisely to test, I have never gone beyond what way stated in the guide content-wise).
This time it seems to work. The application runs as expected (everything is black, but you can see it is a VR app). Now the only thing is to go beyond this.
What would be causing problems with the other projects?
Here is the log of the successful build in case it helps.
link text

Does this occur every time you add the material to the floor? If you create another new project, perform those steps, and then try to put it on the device are you able to do so?

The same thing happens every time. What I ended up doing was reinstalling Visual Studio and including everything for android. This seemed to work when creating a new project using blueprints, however now I get a massive error when attempting to create a project in C++!
I’ve gone ahead and posted it as a separate question as it is unrelated to the original problem I was having and this one is essentially solved if one is working with a blueprints project.
Thanks for your help.