이것저것/오류 해결
Gradle import할 때 발생하는 오류 해결 (Unable to find method)
gi2
2022. 1. 10. 02:51
[ Unable to find method ''java.lang.String org.gradle.api.artifacts.result.ComponentSelectionReason.getDescription()''. Possible causes for this unexpected error include: Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) ]
프로젝트의 gradle > wrapper > gradle - wrapper.properties 의
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
gradle의 버전을 위처럼 7.x.x 에서 6.8.3 으로 변경하고 재빌드 해주니 문제가 해결되었다.