Android error: invalid source release: 17 #2281
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduce
Other issues solved this by downgrading a library they were using, we are not able to do this as the version of a library we use is required by us. Expected resultsThe app builds Actual resultsThe following error is thrown during the build process:
Build id (optional)65806eb3b46a829428df61b8 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @lpickford-pixelbeard, based on the error message, it appears that Java 17 is expected in the build, but an incorrect version of Java is currently being used. If not specified, the default version is Java 11. Could you please try defining the Java version explicitly in your YAML file as shown below
|
Beta Was this translation helpful? Give feedback.
Hello @lpickford-pixelbeard, based on the error message, it appears that Java 17 is expected in the build, but an incorrect version of Java is currently being used. If not specified, the default version is Java 11. Could you please try defining the Java version explicitly in your YAML file as shown below