PackagingResults: Error: Launch failed! Unknown Error 5.3

Does anyone know how to fix this error?
LogPlayLevel: UAT: > Task :app:compileDebugJavaWithJavac
LogPlayLevel: UAT: The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).
LogPlayLevel: UAT: Make sure all annotation processors are incremental to improve your build speed.
LogPlayLevel: Error: UAT: Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:87: error: cannot find symbol
LogPlayLevel: UAT: import android.os.VibratorManager;
LogPlayLevel: UAT: ^
LogPlayLevel: UAT: symbol: class VibratorManager
LogPlayLevel: UAT: location: package android.os
LogPlayLevel: UAT: Note: Some input files use or override a deprecated API.
LogPlayLevel: UAT: Note: Recompile with -Xlint:deprecation for details.
LogPlayLevel: UAT: 1 error
LogPlayLevel: UAT:
LogPlayLevel: UAT: > Task :app:compileDebugJavaWithJavac FAILED
LogPlayLevel: UAT: > Task :app:mergeDebugNativeLibs
LogPlayLevel: UAT:
LogPlayLevel: UAT: FAILURE: Build failed with an exception.
LogPlayLevel: UAT:
LogPlayLevel: UAT: * What went wrong:
LogPlayLevel: UAT: Execution failed for task ‘:app:compileDebugJavaWithJavac’.
LogPlayLevel: UAT: > Compilation failed; see the compiler error output for details.
LogPlayLevel: UAT:
LogPlayLevel: UAT: * Try:
LogPlayLevel: UAT: > Run with --stacktrace option to get the stack trace.
LogPlayLevel: UAT:
LogPlayLevel: UAT: > Run with --info or --debug option to get more log output.
LogPlayLevel: UAT: > Run with --scan to get full insights.
LogPlayLevel: UAT: Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
LogPlayLevel: UAT:
LogPlayLevel: UAT: * Get more help at https://help.gradle.org
LogPlayLevel: UAT:
LogPlayLevel: UAT: You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
LogPlayLevel: UAT:
LogPlayLevel: UAT: See Command-Line Interface
LogPlayLevel: UAT: 61 actionable tasks: 7 executed, 54 up-to-date
LogPlayLevel: UAT:
LogPlayLevel: UAT: BUILD FAILED in 22s
LogPlayLevel: UAT: cmd.exe failed with args /c “F:\UnrealEngine\Projects\TOD\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug
LogPlayLevel: UAT: (see C:\Users\Alex\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+UnrealEngine+UE_5.3\Log.txt for full exception trace)
LogPlayLevel: UAT: AutomationTool executed for 0h 1m 43s
LogPlayLevel: UAT: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 77.659516
LogPlayLevel: UAT: BUILD FAILED
PackagingResults: Error: Launch failed! Unknown Error

I have tried all kinds of articles but nothing seams to be working.
Android studio I have is the latest at the moment Girrafe:


2 Likes

hi there, i had the same issue when i converted from 5.2 to 5.3.
you need to set your SDK API level to “android-31” basically because the os.vibratormanager was introduced at that level and you should be good to go


also set the the min sdk version to atleast 30

i got same issue here :
“LogPlayLevel: Error: UAT: Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:87: error: cannot find symbol
LogPlayLevel: UAT: import android.os.VibratorManager;
LogPlayLevel: UAT: ^
LogPlayLevel: UAT: symbol: class VibratorManager”
i tried to fixing it my change
“import android.os.VibratorManager”
by
“import android.os.Vibrator”
in GameActivity.java file
But when pakage project UE auto override it and get back with problem.
:dizzy_face: :dizzy_face: :dizzy_face:
Can i asking how did you guys fixing it ?