[Android] 공식적으로 기재된 Glide의 설치 방법이 잘못되었습니다.
대개
Glide의 README의'Download'를 보면Gradle의 설정 방법은 다음과 같다.
dependencies {
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
}
./gradlew build
명령을 사용하여 구축할 때 Glide에서 다음과 같은 경고를 발견했습니다.app: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.github.bumptech.glide:compiler:4.11.0'.
해결책
경고문과 같이
app/build.gradle
중 annotationProcessor
부분을 kapt
로 변경하십시오.dependencies {
def glide_version = "4.11.0"
implementation "com.github.bumptech.glide:glide:$glide_version"
kapt "com.github.bumptech.glide:compiler:$glide_version"
}
kapt 정보
이것은
kotlin-annotation-processing tools
의 줄임말로 Kotolin에서도 모조 도구를 사용할 수 있는 것 같다.아래의 기사는 참고가 되었다.
Reference
이 문제에 관하여([Android] 공식적으로 기재된 Glide의 설치 방법이 잘못되었습니다.), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://zenn.dev/kmd_htsh0226/articles/1d2c0cfe51c639텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)