Skip to content

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

Open
jhonathanqz wants to merge 1 commit intoApparence-io:masterfrom
jhonathanqz:fix/build.gradle
Open

fix: fix version on build.gradle to compile in flutter version 3.24.3#526
jhonathanqz wants to merge 1 commit intoApparence-io:masterfrom
jhonathanqz:fix/build.gradle

Conversation

@jhonathanqz
Copy link
Copy Markdown

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
Copy Markdown
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