Friday, September 25, 2026

Android Studio: error Incompatible Gradle JVM version The project's Gradle version 8.13 is incompatible with the Gradle JVM version 25 currently selected to run Gradle build. Gradle 8.13 supports Java versions between 1.8 and 23. Please update the selected JVM to a compatible version.

"Incompatible Gradle JVM version The project's Gradle version 8.13 is incompatible with the Gradle JVM version 25 currently selected to run Gradle build. Gradle 8.13 supports Java versions between 1.8 and 23. Please update the selected JVM to a compatible version. 
Apply compatible Gradle JDK configuration and sync Change Gradle JDK configuration"

to repair android studio error abov, goto File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle -> Gradle JDK, then select your current JDK folder i.e. /usr/lib/jvm/java-21-openjdk-amd64. Then sync project.