Android/에러 모음

Android apk 추출 시 Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1. 에러

일놀 2024. 9. 24. 12:05
728x90
반응형

 

안드로이드 업데이트를 위해 apk 추출 시 이전에는 잘 되다가 갑자기 에러가 발생.

apk는 만들어 졌으나 file:///C:/Users/user/.gradle/caches ~~~~ Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.5.1. 라는 에러가 발생해서 뭔가 찝찝해서 해결해보고자 함.

 

해결 방안.

caches 폴더 안의 뭔가가 꼬인 것 같아서 캐시를 지우고 했더니 해결됨.

 

상단 File > invalidate caches 클릭 후  Invalidate and Restart 클릭 (아무것도 체크 안했었음)

 

이후 재시작되면 다시 apk추출해보면 정상작동 됨.

 

728x90
반응형