Skip to content

Pub roll is failing, does not regenerate Gradle lock files #182588

Description

@jmagman

Pub roll is failing #182579.

[        ] [Incubating] Problems report is available at: file:///C:/b/s/w/ir/x/w/flutter/dev/integration_tests/flutter_gallery/build/reports/problems/problems-report.html
[        ] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] Execution failed for task ':video_player_android:compileDebugKotlin'.
[        ] > Error while evaluating property 'friendPathsSet$kotlin_gradle_plugin_common' of task ':video_player_android:compileDebugKotlin'.
[        ]    > Could not resolve all files for configuration ':video_player_android:debugCompileClasspath'.
[        ]       > Could not resolve androidx.media3:media3-exoplayer:1.9.1.
[        ]         Required by:
[        ]             project :video_player_android
[        ]             project :video_player_android > androidx.media3:media3-exoplayer-hls:1.9.1
[        ]             project :video_player_android > androidx.media3:media3-exoplayer-dash:1.9.1
[        ]             project :video_player_android > androidx.media3:media3-exoplayer-rtsp:1.9.1
[        ]             project :video_player_android > androidx.media3:media3-exoplayer-smoothstreaming:1.9.1
[        ]          > Cannot find a version of 'androidx.media3:media3-exoplayer' that satisfies the version constraints:
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer:1.9.1'
[        ]               Constraint path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer:{strictly 1.8.0}' because of the following reason: Dependency version enforced by Dependency Locking
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-hls:1.9.1' (releaseVariantReleaseApiPublication) --> 'androidx.media3:media3-exoplayer:1.9.1'
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-dash:1.9.1' (releaseVariantReleaseApiPublication) --> 'androidx.media3:media3-exoplayer:1.9.1'
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-rtsp:1.9.1' (releaseVariantReleaseApiPublication) --> 'androidx.media3:media3-exoplayer:1.9.1'
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-smoothstreaming:1.9.1' (releaseVariantReleaseApiPublication) --> 'androidx.media3:media3-exoplayer:1.9.1'
[        ]       > Could not resolve androidx.media3:media3-exoplayer-hls:1.9.1.
[        ]         Required by:
[        ]             project :video_player_android
[        ]          > Cannot find a version of 'androidx.media3:media3-exoplayer-hls' that satisfies the version constraints:
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-hls:1.9.1'
[        ]               Constraint path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-hls:{strictly 1.8.0}' because of the following reason: Dependency version enforced by Dependency Locking
[        ]       > Could not resolve androidx.media3:media3-exoplayer-dash:1.9.1.
[        ]         Required by:
[        ]             project :video_player_android
[        ]          > Cannot find a version of 'androidx.media3:media3-exoplayer-dash' that satisfies the version constraints:
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-dash:1.9.1'
[        ]               Constraint path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-dash:{strictly 1.8.0}' because of the following reason: Dependency version enforced by Dependency Locking
[        ]       > Could not resolve androidx.media3:media3-exoplayer-rtsp:1.9.1.
[        ]         Required by:
[        ]             project :video_player_android
[        ]          > Cannot find a version of 'androidx.media3:media3-exoplayer-rtsp' that satisfies the version constraints:
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-rtsp:1.9.1'
[        ]               Constraint path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-rtsp:{strictly 1.8.0}' because of the following reason: Dependency version enforced by Dependency Locking
[        ]       > Could not resolve androidx.media3:media3-exoplayer-smoothstreaming:1.9.1.
[        ]         Required by:
[        ]             project :video_player_android
[        ]          > Cannot find a version of 'androidx.media3:media3-exoplayer-smoothstreaming' that satisfies the version constraints:
[        ]               Dependency path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-smoothstreaming:1.9.1'
[        ]               Constraint path 'io.flutter.plugins.videoplayer:video_player_android:1.0-SNAPSHOT' --> 'androidx.media3:media3-exoplayer-smoothstreaming:{strictly 1.8.0}' because of the following reason: Dependency version enforced by Dependency Locking
[        ] > There are 5 more failures with identical causes.

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8689482631485969441/+/u/run_test.dart_for_build_tests_shard_and_subshard_8_9/stdout

Some lockfiles need to be regenerated? Or should these lockfiles be ignored somehow? If not, should flutter update-packages --force-upgrade update them?

exoplayer updated in flutter/packages#10904

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: contributor-productivityTeam-specific productivity, code health, technical debt.platform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions