투케이2K

2. (TWOK/ERROR) [Android] 라이브러리 빌드 에러 - Cannot find a version of androidx.annotation:annotation 본문

투케이2K 에러관리

2. (TWOK/ERROR) [Android] 라이브러리 빌드 에러 - Cannot find a version of androidx.annotation:annotation

투케이2K 2022. 4. 8. 17:42

[환경 설정 및 설명]

프로그램 : AndroidStudio

설 명 : 안드로이드 라이브러리 빌드 시 Cannot find a version of androidx.annotation:annotation 에러 발생

 

[에러 원인]

1. 안드로이드 build.gradle 의존성 설정 문제

 

[해결 방법]

1. build.gradle 파일에서 implementation 추가 실시

implementation 'androidx.annotation:annotation:1.1.0'
androidTestImplementation 'androidx.annotation:annotation:1.1.0'
 
 
 
 

반응형
Comments