1
votes

I use Xamarin for VS and I get 36 errors, this is the first one:

Severity Code Description Project File Line Suppression State Error Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Android resource directory C:\Users\Cayl\AppData\Local\Xamarin\Android.Support.Design\23.0.1.3\embedded./ doesn't exist. forms.Droid

I gather it's because XF don't support the current Android Support Library I have (23.1.1), how do I fix this step by step, do I uninstall Android Support Library and get 23.0.1 from internet somewhere or what?

2
Those errors are due to the failure to automatically download the zip files from Google the first time (after that they are cached for project reuse). If you have network access ` dl-ssl.google.com....`, then cleaning and rebuilding the project "should" work, sometimes exiting Visual Studio (or Xamarin Studio on OS-X) and then rebuilding will start the downloads again. Otherwise the error message show the download link for the zip file(s) needed and the directory that you need to manually place them in.SushiHangover
@SushiHangover What first time? you mean first time running the msi installer, I use the full one (350mb).Jonney Shih

2 Answers

1
votes

Those errors are due to the failure to automatically download the zip files from Google the first time (after that they are cached for project reuse).

If you have network access to dl-ssl.google.com, then cleaning and rebuilding the project "should" work. Sometimes exiting and restarting Visual Studio (or Xamarin Studio on OS-X) and then rebuilding will start the downloads again properly.

Otherwise the error message shows the download link for the zip file(s) needed and the directory that you need to manually place them in:

Example Error Message:

Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:\Users\YOURUSERID\AppData\Local\Xamarin\Android.Support.Design\23.0.1.3 directory.

Once they are downloaded, they will be available for all future solution/projects.

0
votes

It sounds like you might have a corrupt download. Please try deleting the zips folder, and any Android.Support.* folders from inside C:\Users\username\AppData\Local\Xamarin.

Then, delete the bin/ and obj/ folders from your solution's project folders, restart Visual Studio, and rebuild.