투케이2K

128. (TWOK/ERROR) [Android] 빌드 에러 - Unable to find method ComponentSelectionReason Ljava/lang/String 본문

투케이2K 에러관리

128. (TWOK/ERROR) [Android] 빌드 에러 - Unable to find method ComponentSelectionReason Ljava/lang/String

투케이2K 2022. 11. 28. 14:55
반응형

[환경 설정 및 설명]

프로그램 : AndroidStudio

설 명 : 빌드 에러 - Unable to find method 'org.gradle.api.artifacts.result.ComponentSelectionReason.getDescription()Ljava/lang/String;'

 

[에러 원인]

1. 인텔리제이 (Intelij) 에서 사용할 수 있는 그래들 gradle 버전이 맞지 않아서 발생하는 이슈

Unable to find method 'org.gradle.api.artifacts.result.ComponentSelectionReason.getDescription()Ljava/lang/String;'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)

The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)

Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
 

[해결 방법]

1. gradle 버전을 현재 설치된 인텔리제이 버전에 맞게 수동 변경 실시

2. 인텔리제이 및 안드로이드 스튜디오를 해당 버전에 맞게 업데이트 수행 실시


반응형
Comments