Has anyone else run into this or found a solution?
I was packing to the Quest 2 just fine until I enabled the Oculus VR plugin within Unreal Engine 4.27.2. (I wanted access to the hand tracking.) With the plugin enabled all of my packages and launches to the quest fail. If I turn the plugin off it all works fine again.
It looks like the Oculus VR plugin is causing gradle errors.
It looks like I have JAVA_VERSION=“1.8.0_242” I believe this just came with the Android Studio install. I found this in the C:\Program Files\Android\Android Studio\jre
This directory was set by Android Studio
but it will not guarantee you to fix the error)) I just included this plugin and packed the apk without errors … so if you install that java you a chance that everything will work
In your log I’m seeing “variable x is already defined” so, I’d guess that these variables are getting defined in both the Oculus plugin and the OpenXR plugin and that this sort of conflict will trigger errors.
We’re all dreaming of a future where OpenXR is the only plugin we’ll need. Cheers.