Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
mcoluzzi's avatar
mcoluzzi
Honored Guest
6 years ago

Error when Packaging in UE4 4.22.2

I am struggling to try to get a basic package to deploy with my new Quest. I am new to mobile VR development and was trying to start deploying just using the TouchSample project provided in the Oculus UE4 Source Branch. Below is my error I am running into.

LogPlayLevel: ====6/12/2019 10:49:02 PM====PERFORMING FINAL APK PACKAGE OPERATION================================================
LogPlayLevel: Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7)
LogPlayLevel: Fix gradlew permissions
LogPlayLevel: Making .apk with Gradle...
LogPlayLevel: FAILURE: Build failed with an exception.
LogPlayLevel: * What went wrong:
LogPlayLevel: Could not determine java version from '11.0.1'.
LogPlayLevel: * Try:
LogPlayLevel: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
LogPlayLevel: * Get more help at https://help.gradle.org
LogPlayLevel: Error: ERROR: /bin/sh failed with args -c '"/Users/username/Desktop/UnrealEngine-4.22/Samples/Oculus/TouchSample/Intermediate/Android/APK/gradle/gradlew" :app:assembleDebug'
LogPlayLevel:        (see /Users/username/Library/Logs/Unreal Engine/LocalBuildLogs/Log.txt for full exception trace)
LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 11.209150
LogPlayLevel: Error: RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults: Error: Launch failed! Unknown Error

3 Replies

Replies have been turned off for this discussion
  • I am having the exact same issue and watched your video for the initial setup and several times since to ensure all setting were correct and I am still having the same error.  Does anyone have any ideas what could be causing this? I have been at this for a day now and just cannot seem to launch on the Quest.  
  • I am still unable to post URLs after a year (why is Oculus like this???) so I am posting a screenshot of my reply.