Hi
My Unreal project was packaging correctly, but now it isn’t (Android).
So far I have tried removing the Intermediate folder, updating the Android support library, enabling/disabling gradle, changing SDK/NDK to ‘latest’. But I still encounter the same error (see below).
I have also noticed a 500mb G: drive has appeared. I mention this in case it is related. I believe the packaging process creates a map to this drive - but I have been unable to remove it.
Any advice would be really appreciated.
Thanks in advance
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:compileDebugNdk UP-TO-DATE UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:compileDebugSources UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:mergeDebugShaders UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:compileDebugShaders UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:generateDebugAssets UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:mergeDebugAssets UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:transformClassesWithDexForDebug UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:mergeDebugJniLibFolders UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:transformNative_libsWithMergeJniLibsForDebug UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:processDebugJavaRes UP-TO-DATE UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:transformResourcesWithMergeJavaResForDebug UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:validateSigningDebug UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:packageDebug FAILED UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): FAILURE: Build failed with an exception. UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): * What went wrong: UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Execution failed for task ':app:packageDebug'. UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): > Java heap space UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): * Try: UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Total time: 48.349 secs UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ERROR: cmd.exe failed with args /c "F:\Unreal Projects\CephalaMobile\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): (see C:\Users\themi\AppData\Roaming\Unreal Engine\AutomationTool\Logs\F+Epic+Games+UE_4.19\UAT_Log.txt for full exception trace) PackagingResults: Error: cmd.exe failed with args /c "F:\Unreal Projects\CephalaMobile\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED PackagingResults: Error: Unknown Error