Platform/Android

[Error] Duplicate class com.google.firebase.*

개랭갱깽스타 2020. 9. 3. 11:54

MY Case)

"com.google.mlkit:barcode-scanning:$versions.mlkit_barcode_scanning" 을 추가한 후 발생

versions.mlkit_barcode_scanning = "16.0.1"

 

해결!

FCM 버전을 최신버전으로 UP 시켜주었다.

versions.firebase_messaging = "20.2.1" // FCM

https://stackoverflow.com/questions/62578673/how-to-fix-duplicate-class-com-google-firebase-components

 

How to fix `duplicate class com.google.firebase.components`?

I started to use the MLKit barcode scanner in my project and get the Duplicate class error when trying to run the app. Also, I tried to exclude firebase-common and exclude firebase-components, but it

stackoverflow.com

 

반응형

'Platform > Android' 카테고리의 다른 글

[Error] Unable to instantiate appComponentFactory  (0) 2020.09.11
[UI] Action Bar  (0) 2020.09.04
[Android SDK] onNewIntent()  (0) 2020.09.02
[UI] 해상도  (0) 2020.08.28
[UI] (!) failed to initialize editor  (0) 2020.08.27