Android
[Android] 멀티 Module에서 발생하는 google-services.json is missing 오류
너츠너츠
2022. 9. 9. 02:10
저 같은 경우 라이브러리에서 firebase 라이브러리를 사용하려고 할 때 plugins 쪽에 아래 코드를 추가한 것이 문제였습니다. app 하위 모듈에서 firebase 라이브러리를 사용하고 싶다면 플러그인에 추가하지 않고 dependencies에만 추가해주시면 됩니다.
id("com.google.gms.google-services")
<참고>
Use external google-services.json file in library
I'm sharing a single login module across my apps, with a LoginActivity that handles both Facebook and Google auth (logic + UI). Now, with Facebook it's easy to specify a different ID for each app,
stackoverflow.com
반응형