Resolving dependencies...
Note: intl is pinned to version 0.19.0 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because nfsee depends on flutter_localizations from sdk which depends on intl 0.19.0, intl 0.19.0 is required.
So, because nfsee depends on intl ^0.18.1, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on intl: flutter pub add intl:^0.19.0
If I follow the suggestion, it fails with a different error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':flutter_nfc_kit:compileReleaseKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (17) and 'compileReleaseKotlin' (21).
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation
* 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 1s
Running Gradle task 'assembleRelease'... 1,790ms
Gradle task assembleRelease failed with exit code 1
When trying to compile:
If I follow the suggestion, it fails with a different error: