Android Build Fails- Gradle “Could not move temporary workspace to immutable location”

shravanum01
Wed, 15 Apr 2026 05:55:06 +0000
Getting Started & Setup

Hi everyone,

I’m facing an issue while packaging an Android (ASTC) build in Unreal Engine 5.5.

The build works perfectly in UE 5.4, but in UE 5.5 it consistently fails during the Gradle stage with the following error:

Execution failed for task ':app:compileDebugAidl'.
> Could not move temporary workspace
(C:\GradleCache_UE55\caches\transforms-4\...\temp-folder)
to immutable location
(C:\GradleCache_UE55\caches\transforms-4\...)

What I’ve tried so far:

Cleared .gradle cache completely

Used separate Gradle cache directories per UE version

Disabled Gradle caching (org.gradle.caching=false)

Disabled parallel builds and daemon

Added:

org.gradle.vfs.watch=false

org.gradle.unsafe.watch-fs=false

Downgraded Gradle from 8.x → 7.6.1

Ran Unreal as Administrator

Disabled Windows Defender and indexing

Cleaned project folders (Intermediate, Saved, etc.)

Environment:

Unreal Engine 5.5

Windows 11

Android SDK + NDK r25b

High-end system (i9 CPU)

Observation:

UE 5.4 builds successfully on the same machine

UE 5.5 fails consistently with the same Gradle transform error

Question:
Has anyone faced this issue in UE 5.5?
Is there a stable fix, or is this a known Gradle/Windows issue?

Any help would be appreciated

1 post - 1 participant