add_2_calendar: Build failed with an exception

After I upgraded Flutter, my project doesn’t compile anymore. Here is the error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':add_2_calendar:compileDebugJavaWithJavac'.
> error: invalid source release: 17

I tried to change the Java version but without success. I have the latest add_2_calendar version 2.2.5.

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Reactions: 4
  • Comments: 20 (2 by maintainers)

Most upvoted comments

alright, 3.0.1 published!

I fixed it. you can use this pull request ref until it is merged

add_2_calendar: git: url: https://github.com/ja2375/add_2_calendar.git ref: 493d902e998a397bfd7468cc5874dd38e7d1f067