mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

This is blocking the upgrade to AGP 8.0.1. The Android Studio Upgrade Assistant refuses to run with the error: > Modules have the same package for their `main` and `androidTest` > artifacts > > The package specifications in `AndroidManifest.xml` files define the > same package for the `main` and `androidTest` artifacts, in the > following modules: `effect`, `muxer`, `transformer`, `test_exoplayer_abr`, `test_exoplayer_performance`, and `container`. This change also adds the `.test` suffix to `test/AndroidManifest.xml` files where it's missing, because although it's not mentioned in the Upgrade Assistant error it does cause problems later. ``` > Incorrect package="androidx.media3.database" found in source AndroidManifest.xml: libraries/database/src/test/AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported. Recommendation: remove package="androidx.media3.database" from the source AndroidManifest.xml: libraries/database/src/test/AndroidManifest.xml. ``` Issue: androidx/media#409 PiperOrigin-RevId: 533460180
Container module
Provides functionality for media containers.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'androidx.media3:media3-container:1.X.X'
where 1.X.X
is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.