mirror of
https://github.com/androidx/media.git
synced 2025-05-03 21:29:49 +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