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

fix: fix version on build.gradle to compile in flutter version 3.24.3 #526

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jhonathanqz
Copy link

Description

What your Pull Request change ?

Checklist

Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

  • 📕 I read the Contributing page.
  • 🤝 I match the actual coding style.
  • ✅ I ran flutter analyze without any issues.

Breaking Change

  • 🛠 My feature contain breaking change.

If your feature break something, please detail it

@jhonathanqz
Copy link
Author

I was getting the error below using flutter in version 3.24.3.

After updating the files, I was able to compile my application normally.

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

/Users/jhonathanqz/.pub-cache/hosted/pub.dev/camera_android_camerax-0.6.8+2/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java:84: error: cannot find symbol
            new TextureRegistry.SurfaceProducer.Callback() {
                                               ^
  symbol:   class Callback
  location: interface SurfaceProducer
/Users/jhonathanqz/.pub-cache/hosted/pub.dev/camera_android_camerax-0.6.8+2/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java:85: error: method does not override or implement a method from a supertype
              @Override
              ^
/Users/jhonathanqz/.pub-cache/hosted/pub.dev/camera_android_camerax-0.6.8+2/android/src/main/java/io/flutter/plugins/camerax/PreviewHostApiImpl.java:91: error: method does not override or implement a method from a supertype
              @Override
              ^
3 errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant