bitrise-steplib / bitrise-step-flutter-build

MIT License
7 stars 13 forks source link

':package_info_plus:compileReleaseJavaWithJavac'. #56

Open jusevasa opened 1 month ago

jusevasa commented 1 month ago

Bug Report: Invalid Source Release Error with flutter build appbundle Command

Environment Details

Description of the Issue

When executing the following command to build the Android app bundle:

flutter build appbundle --release --dart-define=production=true

I encountered the following error:

* What went wrong:
Execution failed for task ':package_info_plus:compileReleaseJavaWithJavac'.
> error: invalid source release: 17
image

Steps Taken

  1. Updated the dependency in question (package_info_plus) to the latest version.
  2. Re-ran the build command, but the issue persisted.

Additional Information

image

Request for Assistance

I would appreciate any insights or suggestions on how to resolve this issue. It appears to be related to the Java version or configuration, but I'm unable to pinpoint the exact cause.

Thank you for your support.

Blizzsuxx commented 2 weeks ago

have the same issue