개발/Android Studio 에러

에러: Minimum supported Gradle version is 8.9. Current version is 8.5.Please fix the project's Gradle settings.

스몰스테핑 2024. 10. 23. 21:45

Minimum supported Gradle version is 8.9. Current version is 8.5.
Please fix the project's Gradle settings.

 

Gradle 버전 관련 문제.

오류창에서 말한대로 Gradle의 버전을 업데이트해주면 된다.

 

gradle\wrapper\gradle-wrapper.properties를 열어서 다음 항목의 버전을 수정한다.
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
8.5 -> 8.9

 

최신 Gradle은 다음을 참고하자.

https://docs.gradle.org/current/release-notes.html

 

Gradle 8.10.2 Release Notes

Gradle Release Notes Gradle 8.10.2 is the second patch release for Gradle 8.10. It fixes the following issues: #30472 Investigate possibly broken 8.10.1 #30477 Kotlin Mutliplatform build with reused daemon fails with "Cannot query the value of task ':compi

docs.gradle.org

 

 

Gradle 8.10.2

https://docs.gradle.org/current/userguide/compatibility.html

 

Compatibility Matrix

Gradle runs on the Java Virtual Machine (JVM), which is often provided by either a JDK or JRE. A JVM version between 8 and 23 is required to execute Gradle. JVM 24 and later versions are not yet supported. Executing the Gradle daemon with JVM 16 or earlier

docs.gradle.org

 

 

Android에서 말하는 Stable한 조합은 다음 링크, 이미지를 참고하자.

https://developer.android.com/build/releases/gradle-plugin?hl=ko#updating-gradle

 

Android Gradle 플러그인 8.6 출시 노트  |  Android Studio  |  Android Developers

Android 스튜디오 빌드 시스템은 Gradle을 기반으로 하며 Android Gradle 플러그인에는 Android 앱을 빌드하는 데 사용하는 몇 가지 추가 기능이 있습니다.

developer.android.com