Skip to content

Instantly share code, notes, and snippets.

@eseidel
Created February 3, 2023 19:43
Show Gist options
  • Save eseidel/8e79a32b069a9798279f290d4f7a0dde to your computer and use it in GitHub Desktop.
Save eseidel/8e79a32b069a9798279f290d4f7a0dde to your computer and use it in GitHub Desktop.
Trying to build flutter 3.7.1 with Android Studio Electric Eel 2022.1.1 Patch 1
w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
C:/Users/micro/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.5.30/5fd47535cc85f9e24996f939c2de6583991481b0/kotlin-stdlib-jdk8-1.5.30.jar (version 1.5)
C:/Users/micro/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.6.10/e1c380673654a089c4f0c9f83d0ddfdc1efdb498/kotlin-stdlib-jdk7-1.6.10.jar (version 1.6)
C:/Users/micro/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.6.10/b8af3fe6f1ca88526914929add63cf5e7c5049af/kotlin-stdlib-1.6.10.jar (version 1.6)
n 1.6)
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
C:/Users/micro/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.5.30/5fd47535cc85f9e24996f939c2de6583991481b0/kotlin-stdlib-jdk8-1.5.30.jar (version 1.5)
C:/Users/micro/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.6.10/e1c380673654a089c4f0c9f83d0ddfdc1efdb498/kotlin-stdlib-jdk7-1.6.10.jar (version 1.6)
C:/Users/micro/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.6.10/b8af3fe6f1ca88526914929add63cf5e7c5049af/kotlin-stdlib-1.6.10.jar (version 1.6)
C:/Users/micro/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.6.10/c118700e3a33c8a0d9adc920e9dec0831171925/kotlin-stdlib-common-1.6.10.jar (version 1.6)
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
@eseidel
Copy link
Author

eseidel commented Feb 3, 2023

Clearing the cache fixed the issue.

rmdir C:\Users\micro.gradle\

Had to close/relaunch Visual Studio Code to get Windows to release the cache files so I could actually delete the cache, but after I did that it was happier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment