Skip to content

onLoadError code: 1203: Unexpected Media3 version #16

@priyank-dt

Description

@priyank-dt

Bug Report: Media3 Version Mismatch Error (1203)

Description

After successfully generating OTP and navigating to the player screen, the video player fails to load and throws an error both on the UI and in the debug console.


Error Details

VdoPlayerUIFragment(14685): onLoadError code: 1203: Unexpected Media3 version. Expected 1.8.0, but found 1.9.2


Steps to Reproduce

  1. Launch the app
  2. Generate OTP and complete login
  3. Navigate to the video player screen
  4. Observe the error on player UI and console logs

Expected Behavior

The video player should load and play content without any Media3 version conflicts.


Actual Behavior

The player fails to load and throws a version mismatch error:
Expected Media3 version 1.8.0, but found 1.9.2


Environment Details

Flutter

  • Version: 3.41.0

Android Configuration

  • compileSdk: 36
  • minSdk: 25
  • targetSdk: 35
  • Android Gradle Plugin (com.android.application): 8.11.1
  • Kotlin Version (org.jetbrains.kotlin.android): 2.2.20

Additional Context

  • The issue appears related to Media3 dependency mismatch between the player SDK and project dependencies.
  • Possibly caused by transitive dependency resolving to a newer Media3 version (1.9.2).

Troubleshooting Done

  • Verified Flutter and Android configurations
  • Confirmed error consistently occurs after OTP flow

Request

Please help with:

  • Correct way to align Media3 versions
  • Recommended dependency versions compatible with this player SDK
  • Any Gradle configuration required to resolve this conflict

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions