-
Notifications
You must be signed in to change notification settings - Fork 4k
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
build failed after upgrading plugins #3215
Comments
Adding this to app's module build.gradle fixed the issue configurations { |
Hi @itssidhere
If the problem persist, Can you please provide your |
Adding this to app's module build.gradle fixed the issue configurations { |
You can also add this dependency in your app implementation 'com.google.guava:guava:27.0.1-android' |
Hi @itssidhere |
@TahaTesser I didn't looked much into it but I think it depends on a wrong guava dependency version in the Android plugin implementation. |
@TahaTesser That fix was given by https://stackoverflow.com/a/53998268. That fixes the issue but it's a workaround. I am not sure if there is something wrong within the flutterfire. Thank you |
same issues here...two solutions can workaround with it. Solution 1
Solution 2
Since solution 2 worked, and according to FireFlutter:
Personally, I think the problem is the reworked plugins do not properly manage the versions of the Firebase SDKs, so the safe way is importing any Firebase Android SDK dependencies...:joy: |
Similar issue here after upgraded to the latest plugins following the migration guide:
Something should be fixed, either doc or plugins. |
@TahaTesser I think this issue should be reopened, I didn't have this issue before the upgrade and removal of the following lines as instructed in the docs.
Now I am getting the following errors after the migration to the newest version.
Please investigate this and fix the documentation, thank you. |
@TahaTesser The issue needs to be reopened. After upgrading the issue has popped up. I upgraded the following:
Flutter Doctor
The error:
Here are the relevant files:build.gradle:
gradle.properties:
app\build.gradle
I fixed the issue by adding As @itssidhere said this feels like a workaround and not a fix. If it is a fix, please update the documentation. Thank you. |
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of |
I updated cloud_firestore,firebase_messaging,firebase_database etc and cannot build the app.
The output of flutter run -v
logs
The text was updated successfully, but these errors were encountered: