Package Details: android-emulator 35.2.10-1

Git Clone URL: https://aur.archlinux.org/android-emulator.git (read-only, click to copy)
Package Base: android-emulator
Description: Google Android Emulator
Upstream URL: https://developer.android.com/studio/releases/emulator.html
Keywords: android development
Licenses: custom
Submitter: dreamingincode
Maintainer: dreamingincode
Last Packager: dreamingincode
Votes: 56
Popularity: 0.049571
First Submitted: 2017-04-19 07:06 (UTC)
Last Updated: 2024-10-17 06:48 (UTC)

Latest Comments

1 2 3 4 Next › Last »

dreamingincode commented on 2023-09-01 21:48 (UTC)

Even if it's a Google owned CDN, I don't think it's official because it's a CDN and CDNs are generally not considered a public & stable thing - Google can change how/whether it uses CDN any time, but Google is far less likely to change dl.google.com. CDNs are by definition mirrors anyway.

The URL is also not really "listed" on the page, as one would see something in text if it's listed - it's only linked to. And Google probably shouldn't have done that.

dl.google.com is official both because it's far more well-known and linked to (and not CDN), and it is the link from the source of truth for Android tools at https://dl.google.com/android/repository/repository2-1.xml , which is used by Android Studio SDK manager, the official way to download Android tools.

zrhoffman commented on 2023-09-01 21:01 (UTC) (edited on 2023-09-01 21:03 (UTC) by zrhoffman)

That is not a non-official host, it is Google's official CDN. In fact, that precise URL is listed as the official URL on the Android Emulator 33.1.15 download page: https://developer.android.com/studio/emulator_archive

Avoid using specific mirrors (e.g. on sourceforge) to download, as they might become unavailable

https://redirector.gvt1.com/edgedl/... redirects the client to the nearest edge cache for downloading, which is much more resilient than dl.google.com.

dreamingincode commented on 2023-09-01 20:54 (UTC)

I don't think this AUR package should try to fetch a binary from a non-official host , given that we do have the official one. Even if it may help certain VPN users build the package, it's a questionable practice to all other users.

https://wiki.archlinux.org/title/Arch_package_guidelines also says:

Avoid using specific mirrors (e.g. on sourceforge) to download, as they might become unavailable

zrhoffman commented on 2023-09-01 20:46 (UTC) (edited on 2023-09-01 20:46 (UTC) by zrhoffman)

This URL does not block my VPN: https://redirector.gvt1.com/edgedl/android/repository/emulator-linux_x64-10696886.zip

Replacing the URL in the PKGBUILD with that gets the package to build for me on the IP address that dl.google.com blocks. I'm sure I'm not the only one affected by this.

zrhoffman commented on 2023-09-01 19:58 (UTC)

@dreamingincode I tried from a different IP address and makepkg works, so dl.google.com must be blocking my VPN's previous IP address. If there's a mirror that doesn't block VPNs, that would be preferred, but if this is the only one, I understand.

dreamingincode commented on 2023-09-01 04:50 (UTC)

@zrhoffman Double checked and makepkg works fine for me. The file is downloaded normally and passes checksum.

zrhoffman commented on 2023-09-01 04:38 (UTC)

I'm getting a 404 trying to build 32.1.15-1:

$ makepkg
==> Making package: android-emulator 32.1.15-1 (Thu Aug 31 22:36:32 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading emulator-linux_x64-10696886.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  1449    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://dl.google.com/android/repository/emulator-linux_x64-10696886.zip
    Aborting...

arturbruno17 commented on 2022-06-17 12:43 (UTC)

I don't know if this is just me, but when I access the Android Emulator's 'Extended controls', the map doesn't show up for me. In the place where the map should be to select the location of the fake gps, there is nothing.

ulidtko commented on 2021-12-23 12:09 (UTC)

Ah, nevermind... Upgrading android-sdk-platform-tools 30.0.1-131.0.3-1 fixed it.