From the suggestion at apple/swift-collections#558 (comment):
One elaboration to the official Android workflow that would be useful is to be able to specify multiple target triples to run the Android emulator with. That way, we could test the same Swift package against multiple Android API levels, which will be particularly useful once we roll out the new #available(Android) level feature for the SDK.
It might require downloading multiple emulator images, so may be more work to set up, but some Swift packages, like Testing, would benefit from it.