dotnet / dotnet/android-libraries

Unable to download xamarin dependency from dl.google.com / maven.google.com

Open
#687 4 comments 0 reactions 2 assignees Claimed by @jonathanpeppers View on GitHub
tools
Dominant language
C#
Stars
317
Forks
73
Avg merge
1d 8h
Merged PRs (30d)
17

Description

### Android application type

Classic Xamarin.Android (MonoAndroid12.0, etc.)

### Affected platform version

VS22 v17.4.2

### Description

XamarinBuildDownloadCore is unable to download firebasecomponents. it seems it ignores the configured proxy settings.
it does not listen to http_proxy & https_proxy

The Nuget packages are added correctly, but when building it tries to download missing components.

```
_XamarinBuildDownloadCore:
Downloading https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-components/17.0.1/firebase-components-17.0.1.aar to /Users/{USER}/Library/Caches/XamarinBuildDownload/firebasecomponents-17.0.1.aar
Download failure reason: Error: ConnectFailure (No route to host)
/Users/{USER}/{PROJ}/packages/Xamarin.Build.Download.0.11.3/build/Xamarin.Build.Download.targets(52,3): error XBD001: Download failed. Please download https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-components/17.0.1/firebase-components-17.0.1.aar to file ...
```

### Steps to Reproduce

- create xamarin.android project
- add firebase packages
- build

### Did you find any workaround?

_No response_

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.