Questions tagged [gradle-managed-device]
8 questions
6
votes
0 answers
Android Github action with Gradle Managed Device
I try to make a CI test with Gradle Managed Device and Github action. I made several attempts, but I mostly run into
Execution failed for task ':app:nexusOneApi30Setup'.
> A failure occurred while executing…

hannes ach
- 16,247
- 7
- 61
- 84
4
votes
0 answers
Gradle Managed Devices Could Not Receive Test Results From the Test Executor
Using gradle version 8.0.2
I am using gradle managed devices to run my Android Espresso tests in parallel on 2 emulators. I am running this by using the following command:
./gradlew pixel4api31DebugAndroidTest…

reutsey
- 1,743
- 1
- 17
- 36
2
votes
1 answer
Show android emulators when running tests via gradle managed devices
When running android espresso tests via gradle managed devices, i.e. by running:
./gradlew pixel4api30DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=com.aaa.bbb.ccc.Suites.TestSuite…

reutsey
- 1,743
- 1
- 17
- 36
0
votes
0 answers
what is the gradle property android.sdk.channel used for?
I have seen references to the gradle property "android.sdk.channel" like here https://issuetracker.google.com/issues/206963797 and https://android-developers.googleblog.com/2021/10/whats-new-in-scalable-automated-testing.html
What exactly is this…

reutsey
- 1,743
- 1
- 17
- 36
0
votes
1 answer
Gradle Managed Devices - ChromeCustomTab not working
I'm starting to use this Gradle Managed Devices feature and I'm facing some problems when running my Espresso tests.
I setup the device as follows :
testOptions {
animationsDisabled = true
managedDevices {
…

Skizo-ozᴉʞS ツ
- 19,464
- 18
- 81
- 148
0
votes
0 answers
Android Gradle Managed Devices fails to boot emulator
When I try running 3 shards of a Pixel 4 API 31 image for Android Emulators, I am getting
Device provider failed trying to provide device controller.
Gradle was…

reutsey
- 1,743
- 1
- 17
- 36
0
votes
1 answer
Android Gradle Managed Devices - How to clear cached test results
When running android espresso tests using gradle managed devices, how can you clear the test results that are cached if you want to force the test(s) to be re-ran?
Per https://developer.android.com/studio/test/gradle-managed-devices:
Caches test…

reutsey
- 1,743
- 1
- 17
- 36
0
votes
0 answers
How to specify memory and internal storage allocation for android gradle managed devices
When running android devices in parallel we can use something like:
./gradlew pixel4api30DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=com.aaa.bbb.ccc.Suites.TestSuite…

reutsey
- 1,743
- 1
- 17
- 36