When I run my app, everything is fine. But, if I t...
# compose
b
When I run my app, everything is fine. But, if I try to run a single composable, or if I try to run instrumented tests, I get errors that the manifest merger failed. The specific errors are around not explicitly providing the
android:exported
attribute on activities that have an intent-filter (which is now required in Android 12) … But my app only has one activity and it DOES have the proper attribute. Has anyone else run into this problem? I can duplicate it by trying to run a test on the Rally Sample App. It seems like maybe there is a defect in one of the compose libraries? Maybe the one that provides
PreviewActivity
, or whatever Activity the Compose Test Rule uses? Update: False alarm. The issue appears to be resolved in the latest compose beta (11.0-beta02). I updated and everything previews, tests, etc are working again.