-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Include Android emulator in Ubuntu images #836
Comments
This emulator is shipped by Apache 2.0 license |
Hello @mganandraj, thank you for your suggestion. Emulators can be installed in runtime using the android-emulator-runner action (in case if you use GitHub Action).
|
Hi @maxim,
Considering the size of the image, Is it a good practice to download and install them as part of CI validation, assuming double digit PRs each day ? Are there network caching layers to serve this kind of download patterns ?
Thanks
ANandraj
From: Maxim Lobanov <notifications@github.com>
Sent: Wednesday, May 6, 2020 3:43 AM
To: actions/virtual-environments <virtual-environments@noreply.github.com>
Cc: Anandraj Govindan <anandrag@microsoft.com>; Mention <mention@noreply.github.com>
Subject: Re: [actions/virtual-environments] Include Android emulator in Ubuntu images (#836)
Hello @mganandraj<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmganandraj&data=02%7C01%7Canandrag%40microsoft.com%7C689ac91b03614533556008d7f1aa3b99%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637243585758227146&sdata=gJxZtU1ZSaGUcpAlv2cC1OfstqssgQmPMbEyvHHJnqw%3D&reserved=0>, thank you for your suggestion.
Considering the fact that android emulators are pretty huge, we don't have resources to pre-install and support android emulators on Ubuntu image for now. Probably, we will be able to revisit this decision in future if we see more interests for it and have resources to support it.
Emulators can be installed in runtime using the android-emulator-runner<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FReactiveCircus%2Fandroid-emulator-runner&data=02%7C01%7Canandrag%40microsoft.com%7C689ac91b03614533556008d7f1aa3b99%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637243585758237135&sdata=5qroj2xSBO5C%2FZbJlkEHtC8Nyf7QR5SVMTxqM11jRkM%3D&reserved=0> action (in case if you use GitHub Action).
Also emulators can be installed using the following code (it takes about 1 minute to install one particular emulator):
${ANDROID_HOME}/tools/bin/sdkmanager --install "system-images;android-29;google_apis_playstore;x86_64"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Factions%2Fvirtual-environments%2Fissues%2F836%23issuecomment-624574235&data=02%7C01%7Canandrag%40microsoft.com%7C689ac91b03614533556008d7f1aa3b99%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637243585758237135&sdata=hFk98RwYDotHqX4TQphL9aZ020P%2FOhHzEkG5PBSk3Ms%3D&reserved=0>, or unsubscribe<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAQSYXIZ5CCSQRYZ35ZBCJDRQE5K3ANCNFSM4M2CJRKA&data=02%7C01%7Canandrag%40microsoft.com%7C689ac91b03614533556008d7f1aa3b99%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637243585758247134&sdata=%2B9D8SHRp5obgVg9ktPLkMqJMSD8WA%2BpaZZhpMPqdfEc%3D&reserved=0>.
|
We understand that it can be pretty painful to install Android emulators in runtime, especially if the number of builds is pretty huge.
By default, no, but you can use actions/cache to cache android emulators folder. Potentially, It can speed up your builds because access to the cache is significantly faster than external sources. |
Tool information
Area for Triage: Android
Question, Bug, or Feature?: "Feature"
Virtual environments affected
Can this tool be installed during the build? Yes
Tool installation time in runtime
Are you willing to submit a PR?
Yes
The text was updated successfully, but these errors were encountered: