Forum Discussion
mcoluzzi
6 years agoHonored Guest
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
- AnonymousDid you setup your project settings properly? Here is the tutorial
https://www.youtube.com/watch?v=jlcj4HB9LX8 - ImmersiveMatthewAdventurerI 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.
- ImmersiveMatthewAdventurerI am still unable to post URLs after a year (why is Oculus like this???) so I am posting a screenshot of my reply.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device