-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Failed to resolve firebase-ui-database and firebase-ui-auth #125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@MrBrightside29 do you have 'jcenter()' in your repositories in your build.gradle file? |
@samtstern Yes, just below mavenCentral. With 0.3.1 works just fine. Maybe, it could be due to 0.4.0 is not available in mavenCentral? |
Some problem: I copy pasted
(BTW you are using # instead of // in the documentation here: https://github.com/firebase/FirebaseUI-Android Then after gradle sync i get:
I do have jcenter() as a repo. |
Even adding the dependency
Doesnt help |
I looked into the sample app, this should be the imports:
|
@samtstern I've added the dependencies of ui-database and ui-auth separated instead of single dependency and it works fine. @tjerkw I think you are a little bit confused about the dependecies. Is not the same
and
Actually, firebaseUI depends on the first ones to work. |
0.4.0. is not available on Maven. |
Instead of adding |
@sdeff that's working as intended, FirebaseUI 0.3.x was published to MavenCentral but we moved to jcenter now since that's the default repository for all Android libraries. |
@MrBrightside29 are you still have this issue? Do you only see it with |
@samtstern I'm able to resolve it using separated dependencies
Thanks |
Ok I'm glad that solved your problem. For what it's worth, I will leave this issue open until I can figure out what's going on with my jCenter configuration, thanks for the report! |
Should be fixed now, closing. Re-open if you do a clean build and still see issues. |
This is still happening for me, same error when just using firebase-ui:0.4.0 - Switching to the two components works fine: Is firebase-ui referencing the wrong libs? (com.firebaseui:database instead of com.firebaseui:firebase-ui-database) |
@adamkoch your comment is the first one where I think I actually understand the issue here. Yes it's very likely I botched the POM generation for firebaseui (the monolith). Re-opening to investigate. |
Confirmed this is an issue (and my fault). Please use the individual dependencies for now. |
Ok I just pushed a fix for this. There will be some propagation delay. @adamkoch if you can try it in >= 1hr and let me know if it works that would be great. Just build your project with the gradle flag |
Just checked and it has already propagated and is working fine now. Thanks! :) |
Great work, been waiting for this fix |
I'm still facing the same issue.
Why has the fix not influenced my Android Studio? |
Did you try building with the refresh dependencies argument On Sat, 4 Jun 2016, 5:41 pm Abhilash K, [email protected] wrote:
|
I added the dependency only today, so it should fetch the latest one I guess? I'd used it once before in another project though. Will android studio try to re-use that? If so, that would just repeat this problem. How do I refresh dependencies? |
./gradlew build --refresh-dependencies, I'm not sure why it didn't fetch it after you added it today. I also found downloading the source and running the maven publish local task to work for now |
@abhilash1in also make sure that your project has |
I am facing the same issue. Can someone help me out in this situation |
Closing this issue, it's very old and FirebaseUI has been available on jcenter for a while now. |
Oooh gosh me too am facing the same problem |
Hello, Error:(35, 13) Failed to resolve: compile 'com.firebaseui:firebase-ui-database:0.4.0'. please help me. |
Please use the latest version of the library: 1.0.0. |
Thank you @SUPERCILEX . |
You're welcome! |
|
Change the build.gradle(project) file as follows: allprojects { Hope you will find a solution. |
I've tried to update my firebase-ui dependency from 0.3.1 to 0.4.0 but Gradle Sync fails to resolve dependencies.
Thanks in advance.
The text was updated successfully, but these errors were encountered: