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

channel.setMessageHandler error when building the example #3

Open
riverscuomo opened this issue Dec 10, 2022 · 0 comments
Open

channel.setMessageHandler error when building the example #3

riverscuomo opened this issue Dec 10, 2022 · 0 comments

Comments

@riverscuomo
Copy link

I'm unable to build the example. I'm on Flutter 3.0.5. I get the following error.

apps\plugins\flutter_cast_framework\android\src\main\java\com\gianlucaparadise\flutter_cast_framework\PlatformBridgeApis.java:1158: error: lambda expressions are not supported in -source 7
          channel.setMessageHandler((message, reply) -> {
                                                     ^
  (use -source 8 or higher to enable lambda expressions)
2 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_cast_framework:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
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

No branches or pull requests

1 participant