LecleVietnam/LeclePackageIssue

yoyo_player build error on flutter 3.10

Closed this issue · 5 comments

The package orientation yoyo_player depends on caused the error, it used deprecated api.

Please fix, thanks

Hi @LecleVietnam

Have you had a chance to take a look into this issue?
Is this package going to be abandoned?

Getting Same error, @LecleVietnam please update this

/C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/orientation-1.3.0/lib/orientation.dart:23:20: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'.
SystemChrome.setEnabledSystemUIOverlays(overlays);
^^^^^^^^^^^^^^^^^^^^^^^^^^

Target kernel_snapshot failed: Exception
2

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1201

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

Process 'command 'C:\src\flutter\bin\flutter.bat'' 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.

BUILD FAILED in 25m 24s
Exception: Gradle task assembleDebug failed with exit code 1

Same issue here

We have just updated to a new version. Sorry for the inconvenience

Getting Same error, @LecleVietnam please update this

/C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/orientation-1.3.0/lib/orientation.dart:23:20: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'. SystemChrome.setEnabledSystemUIOverlays(overlays); ^^^^^^^^^^^^^^^^^^^^^^^^^^

Target kernel_snapshot failed: Exception 2

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1201
  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\src\flutter\bin\flutter.bat'' 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.

BUILD FAILED in 25m 24s Exception: Gradle task assembleDebug failed with exit code 1

We have just updated to a new version. Sorry for the inconvenience