개발/안드로이드 개발
라이브러리 모듈을 aar로 implementation 하였을 때 작동안하는 이슈
룬아님
2022. 9. 6. 10:46
https://stackoverflow.com/a/46866517
Android aar library doesn't contain dependencies
i saw similar questions, but not found accepted answers. Problem - i have my own android library with some tiny functions. My library uses others - f.e. Hawk (no sql database). My library gradle fi...
stackoverflow.com
aar파일은 dependencies를 포함하지 않기 때문에 implement를 해주는 프로젝트에서 aar 모듈에서 사용한 라이브러리를 다시 implementation 해주어야 한다.
즉 만약 라이브러리에서
implementation 'com.github.bumptech.glide:glide:4.11.0'
을 해주었다면
해당 라이브러리를 aar로 사용하는 프로젝트에서도
implementation 'com.github.bumptech.glide:glide:4.11.0'
를 해주어야 한다.
반응형