Skip to content
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

cloud_firestore 5.6.0: FlutterFirebaseFirestoreRegistrar.java:19: error: cannot find symbol LibraryVersionComponent.create(BuildConfig.LIBRARY_NAME, BuildConfig.LIBRARY_VERSION)); #16924

Open
1 task done
alamsyahh15 opened this issue Dec 31, 2024 · 2 comments
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: android Issues / PRs which are specifically for Android. plugin: cloud_firestore type: bug Something isn't working

Comments

@alamsyahh15
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

No response

Which platforms are affected?

Android

Description

Hi i've found some bug when i installing cloud_firestore plugin

Reproducing the issue

I using cloud_firestore 3.6.0 in flutter 3.27.1 when i running the project i've some error like this

FlutterFirebaseFirestoreRegistrar.java:19: error: cannot find symbol
        LibraryVersionComponent.create(BuildConfig.LIBRARY_NAME, BuildConfig.LIBRARY_VERSION));
                                       ^
  symbol:   variable BuildConfig
  location: class FlutterFirebaseFirestoreRegistrar

This bug it's look like value of BuildConfig unreadable in kotlin code
Image

Firebase Core version

3.9.0

Flutter Version

3.27.1

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

@alamsyahh15 alamsyahh15 added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Dec 31, 2024
@SelaseKay SelaseKay added plugin: cloud_firestore platform: android Issues / PRs which are specifically for Android. labels Dec 31, 2024
@SelaseKay
Copy link
Contributor

Hi @alamsyahh15, I'm unable to reproduce this issue. It seems to work fine on my end. Have you tried flutter clean?

@SelaseKay SelaseKay added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Dec 31, 2024
@alamsyahh15
Copy link
Author

Hi @alamsyahh15, I'm unable to reproduce this issue. It seems to work fine on my end. Have you tried flutter clean?

I have run flutter clean or flutter pub cache repair but the result is still the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: android Issues / PRs which are specifically for Android. plugin: cloud_firestore type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants