I am getting cannot resolve FirebaseRecyclerAdapter when trying to use it even after adding firebase ui in gradle dependency.Thanks in advance
相关问题
- adding sha1 in firebase app fails with error
- firebase storage cors strange Behaviour
- Firebase security rules difference between get() a
- LoginActivty with Firebase & Facebook authenticati
- How to add working directory to deployment in GitH
相关文章
- How can make folder with Firebase Cloud Functions
- Firestore Update a document field Using Rest API
- How to convert a FCM token to APNS token?
- App not showing Notification receiving FCM when th
- Android Studio - Get Firebase token from GetIdToke
- How to combine Firestore orderBy desc with startAf
- Remove Duplicates from an Array of GeoFire Objects
- Is it possible to test a Firebase trigger locally?
Use exactly the matched version of
FireBaseRecyclerAdapter
to the Versions that you have included in gradle for the Firebase Database. This link will surely help youhttps://github.com/firebase/FirebaseUI-Android
In this link, you will find the matched Firebase dependency according to the version.
I was getting the same issue, it's resolved by adding the firebase-ui dependency in build.gradle (module:app)
Also add the import in .java file where you're trying to declare it.
The dependencies quoted above don't seem to work anymore. After about an hour of searching online, I found this; hopefully it helps someone. It certainly fixed my problem:
compile 'com.firebaseui:firebase-ui:0.4.3'
In your app level gradle:add the following firebase dependency
Can you show your
build.gradle
file?Also, have you tried putting this under your package name in your java class:
import com.firebase.ui.database.FirebaseRecyclerAdapter;
?