UE with Gear VR - Error During Packaging

Hi everyone,

I am not proficient with general deployment to android devices and the packaging process.

I have followed the official UE guide step by step. Created new blank C++ starter project and made all relevant modifications in the “Project Settings”.

When packaging, after a few hundred lines, i get an error in the log which aborts the packaging process.

I am using Mac OSX (10.11.4), UE Engine 4.11.2, Android SDK 24 and have all relevant dependencies installed through NVidias installer.

Please find the log attached as txt.

Any help would be much appreciated, have an awesome day!

Hi talalkrafi,

It looks like this is your problem: “We cannot execute /System/Library/Frameworks/JavaVM.framework/Home/bin/java”. On 10.11.4 you need to install Java; Apple does not include it any more as standard.

Take a look at this forum post in the Android forums: https://forums.unrealengine.com/showthread.php?87170-AndroidWorks-and-El-Capitan

Thanks for your time Chris. However, i was still unable to package. I followed your instructions to the dot. Attached is my 2nd log (not sure if its different or not as i dont really understand it)

Ok, the error you are seeing now comes from using the wrong Android SDK; I just noticed above you installed Android 24. Please see this forum post: https://forums.unrealengine.com/showthread.php?83159-Android-SDK-and-API-23

Thanks Chris, yes i retested it with a completely new project with all the right settings again. Attached is the log.

EDIT: Oh sorry wait ignore that im reading your link. Please ignore the above reply

Alright Chris, thanks for your help, this is going to be a bit of a process for me as im not sure if i have older sdk installed so im going to figure it out and get back to you.
Thanks again! I had literally lost my sense of direction with this.

Just curious, the device i am testing for is a Galaxy s7 Edge. Its on Marshmallow ofc. Will this be a problem?

NEVERMIND! WORKS!!! Chris you are a rockstar my friend! Thank you soooo much!!!
It was all about the SDK. Im using 19 now.