Saturday, December 15, 2018

Android: Error:Program type already present: android.arch.lifecycle.LiveData



com.firebaseui:firebase-ui-firestore:3.1.0 depends on android.arch.lifecycle:extensions:1.0.0-beta1. Switching to version 3.2.2 fixes the issue by using the Lifecycle 1.1 libraries that Support Library 27.1.0 are built upon. - Issue Tracker

For me, removing the firebase-ui dependencies solved the issue since I wasn't even using the library in the first place.
Or this went away when upgrading the firebase ui to 4.3.0

references:
https://github.com/firebase/FirebaseUI-Android#compatibility-with-firebase--google-play-services-libraries

No comments:

Post a Comment