selectable icon indicating copy to clipboard operation
selectable copied to clipboard

Suddenly packages starts to give errors without any package upgrades

Open PranavMasekar opened this issue 1 year ago • 4 comments

Launching lib/main.dart on sdk gphone64 arm64 in debug mode... You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

../../.pub-cache/hosted/pub.dev/float_column-2.1.7/lib/src/selectable_fragment.dart:124:32: Error: Member not found: 'paragraph'. case TextGranularity.paragraph: // TODO(ron): Implement this. ^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/float_column-2.1.7/lib/src/selectable_fragment.dart:142:31: Error: Member not found: 'selectParagraph'. case SelectionEventType.selectParagraph: // TODO(ron): Implement this. ^^^^^^^^^^^^^^^ ../../.pub-cache/hosted/pub.dev/float_column-2.1.7/lib/src/selectable_fragment.dart:653:28: Error: Member not found: 'paragraph'. case TextGranularity.paragraph: // TODO(ron): Implement this. ^^^^^^^^^ Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/pranavmasekar/fvm/versions/3.22.0/bin/flutter'' finished with non-zero exit value 1

  • 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 25s Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

PranavMasekar avatar Aug 16 '24 12:08 PranavMasekar

Same For me As Well

drumkiller-peter avatar Aug 30 '24 09:08 drumkiller-peter

@drumkiller-peter I solved this by adding this in my pubspec.yaml

float_column: 2.1.5

Let me know if this helps

PranavMasekar avatar Aug 30 '24 11:08 PranavMasekar

The latest version (0.3.3) supports previous version of float_column, and has looser restrictions on the dart and flutter sdk versions. Let me know if you still see problems.

ronjb avatar Oct 24 '24 10:10 ronjb

@ronjb I was able to resolve this after flutter upgrade and plugin version upgrade as well.

PranavMasekar avatar Oct 24 '24 11:10 PranavMasekar