moueza / openclassrooms-5086986-create-a-scalable-and-powerful-backend-for-android-using-firebase-in-java

https://openclassrooms.com/fr/courses/5086986-create-a-scalable-and-powerful-backend-for-android-using-firebase-in-java/5769266-discover-firebaseusing-firebase-in-java
Apache License 2.0
0 stars 0 forks source link

Dependencies errors #56

Open moueza opened 3 years ago

moueza commented 3 years ago

Duplicate class android.arch.lifecycle.AndroidViewModel found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and viewmodel-1.1.0-runtime (android.arch.lifecycle:viewmodel:1.1.0) Duplicate class android.arch.lifecycle.LiveData found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and livedata-core-1.1.0-runtime (android.arch.lifecycle:livedata-core:1.1.0) Duplicate class android.arch.lifecycle.LiveData$1 found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and livedata-core-1.1.0-runtime (android.arch.lifecycle:livedata-core:1.1.0) Duplicate class android.arch.lifecycle.LiveData$LifecycleBoundObserver found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and livedata-core-1.1.0-runtime (android.arch.lifecycle:livedata-core:1.1.0) Duplicate class android.arch.lifecycle.MutableLiveData found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and livedata-core-1.1.0-runtime (android.arch.lifecycle:livedata-core:1.1.0) Duplicate class android.arch.lifecycle.Observer found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and livedata-core-1.1.0-runtime (android.arch.lifecycle:livedata-core:1.1.0) Duplicate class android.arch.lifecycle.ViewModel found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and viewmodel-1.1.0-runtime (android.arch.lifecycle:viewmodel:1.1.0) Duplicate class android.arch.lifecycle.ViewModelProvider found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and viewmodel-1.1.0-runtime (android.arch.lifecycle:viewmodel:1.1.0) Duplicate class android.arch.lifecycle.ViewModelProvider$Factory found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and viewmodel-1.1.0-runtime (android.arch.lifecycle:viewmodel:1.1.0) Duplicate class android.arch.lifecycle.ViewModelProvider$NewInstanceFactory found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and viewmodel-1.1.0-runtime (android.arch.lifecycle:viewmodel:1.1.0) Duplicate class android.arch.lifecycle.ViewModelStore found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and viewmodel-1.1.0-runtime (android.arch.lifecycle:viewmodel:1.1.0) Duplicate class android.arch.lifecycle.ViewModelStoreOwner found in modules extensions-1.0.0-runtime (android.arch.lifecycle:extensions:1.0.0) and viewmodel-1.1.0-runtime (android.arch.lifecycle:viewmodel:1.1.0)

Go to the documentation to learn how to Fix dependency resolution errors. https://developer.android.com/studio/build/dependencies#resolution_errors

moueza commented 3 years ago

gradle wrapper app:dependencies