Multiple downloads of the same package

A few days ago I've realized all of the packages I'm using got an update. I have started update process but run into an issue that Xamarin Studio is downloading the same package multiple times wasting my bandwidth, time (download speed is pretty slow this place) and space on SSD.

Problem became even worse with splitting up of single Google Play Services package to 21 smaller packages. Maybe it helps to make resulting build smaller but multiplies download/storage volume at the same degree.

Here is list of my components:

  • googleplayservices-22.0.0.0
  • xamandroidsupportv4-18-21.0.3.0
  • xamandroidsupportv7appcompat-21.0.3.0
  • xamandroidsupportv7cardview-21.0.3.0

And output of build task:

Downloading https://dl-ssl.google.com/android/repository/android_m2repository_r15.zip into \AppData\Local\Xamarin\Android.Support.v4\22.2.0 Downloading https://dl-ssl.google.com/android/repository/android_m2repository_r15.zip into \AppData\Local\Xamarin\Android.Support.v7.AppCompat\22.2.0 Downloading https://dl-ssl.google.com/android/repository/android_m2repository_r15.zip into \AppData\Local\Xamarin\Android.Support.v7.CardView\22.2.0 Downloading https://dl-ssl.google.com/android/repository/android_m2repository_r15.zip into \AppData\Local\Xamarin\Android.Support.v7.MediaRouter\22.2.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Ads\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Analytics\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.AppIndexing\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.AppInvite\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.AppState\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Base\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Cast\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Drive\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Fitness\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Games\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Gcm\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Identity\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Location\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Maps\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Nearby\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Panorama\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Plus\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.SafetyNet\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Wallet\25.0.0 Downloading https://dl-ssl.google.com/android/repository/google_m2repository_r19.zip into \AppData\Local\Xamarin\GooglePlayServices.Wearable\25.0.0

So after the update \AppData\Local\Xamarin folder size became 2.6GB of duplicates and I lost 1.2GB of my internet allowance.

Is there any way to do it once and for everything?

Posts

Sign In or Register to comment.