숨참고 개발다이브

[안드로이드/오류] 'Configuration cache problems found in this build' 빌드 에러 해결하기 본문

카테고리 없음

[안드로이드/오류] 'Configuration cache problems found in this build' 빌드 에러 해결하기

사라 Sarah 2022. 6. 27. 17:08
728x90
Configuration cache problems found in this build.

 

현재 개발환경과 라이브러리 예제 프로젝트 개발환경이 맞지 않아 gradle 버전을 다운시켰다. 강제로 내리다보니 빌드할때 해당 오류가 발생했다.

 

 

 

 

해결 방법은 생각보다 간단한데, gradle.properties 파일에 다음 문장만 추가해주면 된다.

org.gradle.unsafe.configuration-cache-problems=warn

 

 

 

참고 링크)

https://stackoverflow.com/questions/68127791/configuration-cache-enabled-causes-build-to-fail

 

configuration-cache enabled causes build to fail

I've just upgraded our project to use gradles build and configuration caches to help build speeds. But when running this command the build fails gradlew dependencies --stacktrace --scan I have this

stackoverflow.com

 

300x250
Comments