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
[firebase_analytics]: Firebase Analytics 10.10.5 and 10.10.4 version cannot build Android #12770
Comments
Hey @DevHHM, thank you for reporting this issue. I've tested version 10.10.5 of analytics, and it runs without issues. Could you please try to provide a minimal but complete reproducible example where this issue occurs? |
Same Issue occuring to me, even in firebase_analytics: 10.10.3 version. |
@TarekkMA Unfortunately, we don't have any examples to provide. Because all I did was add Firebase_analytics, read the official documentation, set up the file, and initialized it on app launch. For now, the problem is solved. On Stackoverflow, users with similar symptoms to mine said that raising Minsdkversion to 24 should fix it, so I followed that. However, the official documentation says to keep it at 21. Can you please confirm that this is indeed the case? @AkashBonito If that doesn't work, try raising minsdkversion to 24 like I did. |
@TarekkMA Worked for me after changing minsdkversion to 24. |
@DevHHM, glad to hear that you have found a fix for this issue. Can you please send a link to the documentation that mentions minSdk 21 so we can update it? |
@TarekkMA - I just built (debug + release) the analytics example app with minSdk 21, and it worked. This issue can be closed out as the user has a solution 👌 |
@TarekkMA https://firebase.google.com/support/release-notes/android If you look here, it says that MINSDKVERSION must be 21 or higher. Of course, this is the release notes for Android, but the article says that you should use version 21 or higher. |
Is there an existing issue for this?
Which plugins are affected?
Analytics
Which platforms are affected?
Android
Description
hello, i need help.
I'm applying firebase analystic for the first time and I'm getting errors when I build android on flutter.
IOS builds fine, but only Android has the problem.
I didn't do anything extra, I just looked at the documentation for firebase_analystics and followed it.
Reproducing the issue
firebase_analytics add
flutter pub remove firebase_analytics
pubspec.yaml (skip app id)
Firebase Core version
2.31.0
Flutter Version
3.19.6
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetReplace this line with the contents of your `flutter pub deps -- --style=compact`.
Additional context and comments
I've also reached out to the firebase slack for help.
However, I did a little research on past cases like this and found that
'This is a library bug', so I'm leaving it as an issue.
The text was updated successfully, but these errors were encountered: