-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux: test fails, unknown API level #62
Comments
I think you’ve probably read this but in case you haven’t, even you can run the action on Linux VMs and it might work on some system images, you’ll likely run into all sort of issues without hardware acceleration. For example I’ve yet been able to start an API 29 emulator successfully on Linux VMs. It’s not just slow, it doesn’t work. In your case it might be the emulator instance crashing after booting successfully otherwise your script wouldn’t be running at all. Maybe try lower API levels eg 16, 19, 21. But other than that I really don’t have anything to suggest (or maybe have a look at CirrusCI?). Sorry! |
Our minSdk is 23, so I tried it with that and it also doesn't work. I thought that screenshot tests might be a good use-case for Linux, I don't really need fast emulator, it should be only running and accept adb commands. But it can't do even that, so it's not usable for my case. I will keep using the Mac runner and we are thinking about a local Github Actions runner hosted on Mac Mini in our office. |
Now I wonder if there are some compatibility issue with the screenshot testing library, as API 23 emulator on Linux should at least start. Maybe I can do some digging, but if you can setup a local GitHub Action runner on with Mac mini that’d be way better! |
There is a different error message on API 23:
But it looks like it's not worth to invest more time into this. |
Thanks. I’m closing this now. Let me know if you run into other issues😀 |
I ran into the same issue. Running on a mac instance ( |
Got same issue over and over, for our app minSdk is 29 - can't go lower. Switched to
|
Yeah this is expected unfortunately 😞 |
Attempt to improve stability of test runner. See ReactiveCircus/android-emulator-runner#62
Hi,
I'm using your action for automated screenshot tests. Great job! My job runs fine on Mac OS, I recently found out that you also support Linux, which can save us a lot of money. Screenshots tests might be a good use-case for Linux, I don't really need hardware acceleration (Facebook screenshot library only uses emulator to layout views, nothing is shown on the screen).
Here is my configuration:
and the test fails with this:
Any ideas?
The text was updated successfully, but these errors were encountered: