Skip to content
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

Stuck at Installing System Images #42

Closed
ghost opened this issue Mar 30, 2020 · 7 comments · Fixed by #44
Closed

Stuck at Installing System Images #42

ghost opened this issue Mar 30, 2020 · 7 comments · Fixed by #44
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Mar 30, 2020

Whenever I try using this action it gets stuck on the Installing system images. step.

Installing system images.
sh -c \sdkmanager --install 'system-images;android-28;default;x86' > /dev/null

It stays like that for 15+ minutes without any error messages. I'm not using any non-default parameters and the api-level is set to 28. I'm running the action on ubuntu-latest.

Does anyone know why that might happen?

@ychescale9
Copy link
Member

I haven’t tested this particular system image on Linux. I’ll look into it tomorrow.

Would you be able to use the macos VMs instead?

@ghost
Copy link
Author

ghost commented Mar 30, 2020

I also tried it with the 29 api-level with no difference. I tried it out now with a macos VM and it seems to work, but the macos VMs are not suitable for me because of the much higher cost.

@ychescale9
Copy link
Member

Yeah I figure that’s why many people still want to run on Linux knowing it’s much slower without hardware acceleration.

I’ll run a test on Linux with most of the system images tomorrow to see what’s going on.

@ychescale9
Copy link
Member

I just tested with API 21 - 29 on ubuntu-latest. Interestingly all but the 2 system images you tested work 😂

image

Here's the build logs.

@ychescale9 ychescale9 added the bug Something isn't working label Mar 31, 2020
@ghost
Copy link
Author

ghost commented Mar 31, 2020

That's very unfortunate 😂
Do you have any idea why those 2 particular images don't work on ubuntu-latest?

And thanks for the effort!

@ychescale9
Copy link
Member

ychescale9 commented Mar 31, 2020

This is an issue with the sdk license which can be fixed. However, startup time for emulators running on Linux without hardware acceleration increases for each newer API level.

After fixing the licensing issue, API 28 emulator start after ~ 8 minutes on Linux, while API 29 emulator doesn't seem to boot at all...

So I think practically for people who can only use the Linux VM, they'll have to stick with API < 28 (API 28 does work if you don't mind the looooooong startup time).

@ychescale9
Copy link
Member

#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant