[Flutter] 플러터 Runtime JAR files in the classpath should have the same version


[Flutter] 플러터 Runtime JAR files in the classpath should have the same version

캐시 초기화 "Runtime JAR files in the classpath should have the same version" 해당 오류는 kotlin 버전을 업그레이드한 후 문제가 발생할 수 있습니다. 이전 버전의 캐시가 남아 있을 수 있어 캐시를 초기화 해줍니다. 안드로이드 스튜디오에서 "file -> Invalidate Caches"를 통해서 재시작 해주시면 되고, 불가피 할 경우 "C:\Users\유저이름\.gradle\caches" 해당 경로로 이동하여 "caches" 폴더를 삭제해주시면 됩니다. 두번째로 "\android\app\build.gradle"에서 JDK 버젼을 8로 변경합니다. dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" }...


#android #flutter #플러터

원문링크 : [Flutter] 플러터 Runtime JAR files in the classpath should have the same version