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

fix(androidsdk): only download arch independent or matching the host archives #179

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

spouliot
Copy link
Contributor

@spouliot spouliot commented Oct 4, 2023

This avoid downloading multiple files (one per arch) where the last one will be decompressed over the previous. E.g. ending up having emulator as a arm64 binary on an x86 Mac.

Previous verbose logs showed:

...
  – Downloading https://dl.google.com/android/repository/emulator-darwin_x64-10696886.zip ...
  – Downloading https://dl.google.com/android/repository/emulator-darwin_aarch64-10696886.zip
...

…archives

This avoid downloading multiple files (one per arch) where the last one will be decompressed over the previous. E.g. ending up having `emulator` as a `arm64` binary on an `x86` Mac.

Previous verbose logs showed:
```
...
  – Downloading https://dl.google.com/android/repository/emulator-darwin_x64-10696886.zip ...
  – Downloading https://dl.google.com/android/repository/emulator-darwin_aarch64-10696886.zip
...
```
@spouliot spouliot requested a review from jeromelaban October 4, 2023 23:54
@nickrandolph nickrandolph merged commit 50490f5 into main Oct 9, 2023
30 checks passed
@nickrandolph nickrandolph deleted the emulator-arch-fix branch October 9, 2023 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants