iOS
```
Failed to build iOS app
Error (Xcode): ../../../../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' has fewer named arguments than those of overridden method 'File.create'.
```
Android
```
FAILURE: Build failed with an exception.
* What went wrong:
Could not open settings generic class cache for settings file '/Users/ovidiuusvat/development/projects/ovidiu_usvat/yellowQ-Flutter-Image-Painter/example/android/settings.gradle' (/Users/ovidiuusvat/.gradle/caches/6.5/scripts/3n8ygcxrc7nelqcw5tzib8bo6/settings6418c6d726070f323dbddda2aadc82ef).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 16s
┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using │
│ for Gradle. │
│ │
│ To fix this issue, first, check the Java version used by Flutter by running `flutter doctor │
│ --verbose`. │
│ │
│ Then, update the Gradle version specified in │
│ /Users/ovidiuusvat/development/projects/ovidiu_usvat/yellowQ-Flutter-Image-Painter/example/andro │
│ id/gradle/wrapper/gradle-wrapper.properties to be compatible with that Java version. See the │
│ link below for more information on compatible Java/Gradle versions: │
│ https://docs.gradle.org/current/userguide/compatibility.html#java │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘
Exception: Gradle task assembleDebug failed with exit code 1
```
Here are the errors:
iOS
``` Failed to build iOS app Error (Xcode): ../../../../../.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' has fewer named arguments than those of overridden method 'File.create'. ```Android
``` FAILURE: Build failed with an exception. * What went wrong: Could not open settings generic class cache for settings file '/Users/ovidiuusvat/development/projects/ovidiu_usvat/yellowQ-Flutter-Image-Painter/example/android/settings.gradle' (/Users/ovidiuusvat/.gradle/caches/6.5/scripts/3n8ygcxrc7nelqcw5tzib8bo6/settings6418c6d726070f323dbddda2aadc82ef). > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 16s ┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐ │ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using │ │ for Gradle. │ │ │ │ To fix this issue, first, check the Java version used by Flutter by running `flutter doctor │ │ --verbose`. │ │ │ │ Then, update the Gradle version specified in │ │ /Users/ovidiuusvat/development/projects/ovidiu_usvat/yellowQ-Flutter-Image-Painter/example/andro │ │ id/gradle/wrapper/gradle-wrapper.properties to be compatible with that Java version. See the │ │ link below for more information on compatible Java/Gradle versions: │ │ https://docs.gradle.org/current/userguide/compatibility.html#java │ │ │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ Exception: Gradle task assembleDebug failed with exit code 1 ```