Skip to content

Instantly share code, notes, and snippets.

@igorescodro
Created June 21, 2021 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorescodro/ac39bbcba0c3ec2484ae28c788c92e7f to your computer and use it in GitHub Desktop.
Save igorescodro/ac39bbcba0c3ec2484ae28c788c92e7f to your computer and use it in GitHub Desktop.
testOptions {
devices {
pixel2api29 (com.android.build.api.dsl.ManagedVirtualDevice) { ... }
nexus9api30 (com.android.build.api.dsl.ManagedVirtualDevice) { ... }
deviceGroups {
phoneAndTablet {
targetDevices.addAll(devices.pixel2api29, devices.nexus9api30)
}
}
}
}
@connerT
Copy link

connerT commented Jul 2, 2022

The DeviceGroups should not be inside the devices object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment