I have a branch where I tried to use ActivityScenarioRule instead but it hangs during the first few games, failing to supply the specified input to complete the game. You can click around in the emulator and complete the game for it, and the same thing will happen a couple more times, and then it seemingly gets into the swing of things with the rest of the games. Sometimes it gets stuck on a blank black activity with a title starting with "androidx". If you comment out the offending game examples, the same thing will happen with the new first few.
I guess there is some critical difference between ActivityTestRule and ActivityScenarioRule that needs dealing with.
I have a branch where I tried to use ActivityScenarioRule instead but it hangs during the first few games, failing to supply the specified input to complete the game. You can click around in the emulator and complete the game for it, and the same thing will happen a couple more times, and then it seemingly gets into the swing of things with the rest of the games. Sometimes it gets stuck on a blank black activity with a title starting with "androidx". If you comment out the offending game examples, the same thing will happen with the new first few.
I guess there is some critical difference between ActivityTestRule and ActivityScenarioRule that needs dealing with.