Skip to content
Dunking Dog Games Dunking Dog Games

Fix Gradle Daemon Error in Unity – Incompatible Daemon

· Unity , Blog , FAQ

Gradle daemon error in Unity Android build fix

The Error Message

“Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use —status for details”

This error message typically indicates that there is an incompatible version of the Gradle daemon running on your system. To solve this issue, you can try the following steps:

Quick Fixes

Before continuing, make a backup copy of your Unity project.

Clear the Library Folder
  1. Stop Unity
  2. Delete your Library folder (e.g., D:\YOUR_UNITY_PROJECT\Library)
  3. Restart Unity and wait for reimport to complete
  4. Try building again
Kill Gradle Daemons

Open a terminal/command prompt and run:

# Windows
gradle --stop

# macOS/Linux
./gradlew --stop

Or manually kill all Java processes related to Gradle.

Detailed Solutions

Solution 1: Update Gradle Version

Unity bundles a specific Gradle version. If your system has an older or conflicting version:

  1. Go to Edit → Preferences → External Tools
  2. Under Gradle Installation, select “Embedded Gradle” (recommended)
  3. Or specify the correct Gradle path matching your Unity version

Solution 2: Clean Build Cache

# Navigate to your project's Library folder
cd YourProject/Library

# Delete cached files
rm -rf gradle*
rm -rf .gradle*

# Return to Unity and rebuild

Solution 3: Check Java Version Compatibility

Gradle requires a specific Java version. Verify your setup:

Unity VersionRequired Java
2019.x - 2020.xJava 8 or 11
2021.x - 2022.xJava 11 or 17
2023.x+Java 17

Check your Java version:

java -version

Solution 4: Reinstall Unity Android Build Support

  1. Open Unity Hub
  2. Go to Installs → Your Unity Version → Add Modules
  3. Uncheck and recheck Android Build Support
  4. Click Install to reinstall

Prevention Tips

  • Always use the Embedded Gradle option in Unity preferences
  • Keep your JDK/Java installation up to date
  • Regularly clean the Library folder when experiencing build issues
  • Use LTS (Long Term Support) Unity versions for production projects

Still experiencing Gradle issues? Check our Support page or contact us at [email protected]. 🛠️✨

Tags: unity