Android Packaging Failed UE5

Seb_ji
Tue, 28 Feb 2023 18:11:18 +0000
XR Development

Hey I am having an issue trying to package a UE5 project.
If someone can help me.

Here is the output log.

UATHelper: Packaging (Android (ASTC)): > Task :app:preBuild
UATHelper: Packaging (Android (ASTC)): > Task :app:preDebugBuild
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:preBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:preDebugBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugAidl NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:preBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:preDebugBuild UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugAidl NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :app:compileDebugAidl
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:packageDebugRenderscript NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:packageDebugRenderscript NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :app:compileDebugRenderscript NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :app:generateDebugBuildConfig UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:javaPreCompileDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:generateDebugResValues UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:generateDebugResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugRenderscript NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:generateDebugResValues UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:generateDebugResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:packageDebugResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:generateDebugResValues UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugRenderscript NO-SOURCE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:generateDebugResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:packageDebugResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:mergeDebugResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:extractDeepLinksDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:extractDeepLinksDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:processDebugManifest UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:extractDeepLinksDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:processDebugManifest UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:processDebugManifest UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugLibraryResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:parseDebugLocalResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:generateDebugRFile UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugLibraryResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:parseDebugLocalResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:generateDebugRFile UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:processDebugResources UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:generateDebugBuildConfig UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:javaPreCompileDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:compileDebugJavaWithJavac UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :downloader_library:bundleLibCompileToJarDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:generateDebugBuildConfig UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:javaPreCompileDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:compileDebugJavaWithJavac UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :permission_library:bundleLibCompileToJarDebug UP-TO-DATE
UATHelper: Packaging (Android (ASTC)): > Task :app:compileDebugJavaWithJavac FAILED
UATHelper: Packaging (Android (ASTC)): The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0).
UATHelper: Packaging (Android (ASTC)): Z:\app\src\main\java\com\ninevastudios\androidgoodies\AGDeviceInfo.java:9: error: cannot find symbol
UATHelper: Packaging (Android (ASTC)): Make sure all annotation processors are incremental to improve your build speed.
UATHelper: Packaging (Android (ASTC)): import android.content.pm.InstallSourceInfo;
UATHelper: Packaging (Android (ASTC)): ^
UATHelper: Packaging (Android (ASTC)): symbol: class InstallSourceInfo
UATHelper: Packaging (Android (ASTC)): location: package android.content.pm
UATHelper: Packaging (Android (ASTC)): 1 error
UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (ASTC)): * What went wrong:
UATHelper: Packaging (Android (ASTC)): Execution failed for task ‘:app:compileDebugJavaWithJavac’.
UATHelper: Packaging (Android (ASTC)): > Compilation failed; see the compiler error output for details.
UATHelper: Packaging (Android (ASTC)): * Try:
UATHelper: Packaging (Android (ASTC)): 33 actionable tasks: 3 executed, 30 up-to-date
UATHelper: Packaging (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
UATHelper: Packaging (Android (ASTC)): * Get more help at https://help.gradle.org
UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 14s
UATHelper: Packaging (Android (ASTC)): ERROR: cmd.exe failed with args /c “C:\Source\ProteusLabs\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug
UATHelper: Packaging (Android (ASTC)): (see E:\UnrealEngine-oculus-5.0\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
UATHelper: Packaging (Android (ASTC)): AutomationTool executed for 0h 1m 28s
UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults: Error: Unknown Error

4 posts - 2 participants