I am trying to launch my project on Mobile. As I have already followed the Getting started on Android from Unreal, I was sure that there couldn’t be any problems left, but now that I finally got to launch on my mobile device, I ended up with this error message:
====16.06.2019 13:12:43====PERFORMING FINAL APK PACKAGE OPERATION================================================
LogPlayLevel: Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:)
LogPlayLevel: Making .apk with Gradle...
LogPlayLevel: FAILURE: Build failed with an exception.
LogPlayLevel: * What went wrong:
LogPlayLevel: Could not determine java version from '12.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: cmd.exe failed with args /c "C:\Users\kaysi\OneDrive\Dokumente\Unreal Projects\EndlessRunner\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug
LogPlayLevel: (see C:\Users\kaysi\AppData\Roaming\Unreal Engine\AutomationTool \Logs\C+Program+Files+Epic+Games+UE_4.21\Log.txt for full exception trace)
LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 10.768005
LogPlayLevel: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error
I don’t understand why it won’t accept my JDK version. Do I have to get a different one or…