androidTest with ANDROIDX_TEST_ORCHESTRATOR find no tests on some device

51 views
Skip to first unread message

Daniele Segato

unread,
Oct 19, 2022, 4:40:11 AM10/19/22
to Android Testing Support Library
Hi,

I'm using version 1.4.0 of the orchestrator.

When I launch my test on my Pixel 2 (real device) all test run as expected.
When I launch the same tests on my Pixel 4 (real device) no test is found / run.

The Pixel 2 is running on Android 11 (API level 30) and the Pixel 4 on Android 13 (API level 33).

My test only limit SDK level above 23 so they should both run the same tests.

If I remove the 

        execution = "ANDROIDX_TEST_ORCHESTRATOR"

all test run but they fail (on both devices) because I need 

        testInstrumentationRunnerArguments += "clearPackageData" to "true"

I'd appreciate any suggestion.
Thanks

Daniele Segato

unread,
Oct 19, 2022, 5:25:14 AM10/19/22
to Android Testing Support Library
I was able to solve this by upgrading the orchestrator and the runner to the last version (non-stable).

I'm not sure which of the 2 was needed (or if both)

--
You received this message because you are subscribed to a topic in the Google Groups "Android Testing Support Library" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-testing-support-library/zKk6Zw6vxsI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-testing-suppo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-testing-support-library/cb896b94-16b9-43aa-8ba3-1c43bae84eafn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages