Unable to build the solution

manoharbonalamanoharbonala ✭✭INMember ✭✭

Hi,
I updated the xamarin forms dll then on wards I am unable to build the solution because of the following errors.Please anyone tell me why the errors are displaying and how to rectify it.

Please install package: 'Xamarin.Android.Support.Animated.Vector.Drawable' available in SDK installer. Android resource directory C:\Users\eth148\AppData\Local\Xamarin\Android.Support.Animated.Vector.Drawable\23.3.0.0\embedded./ doesn't exist.
Please install package: 'Xamarin.Android.Support.Animated.Vector.Drawable' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.Animated.Vector.Drawable\23.3.0.0\embedded\classes.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Android resource directory C:\Users\eth148\AppData\Local\Xamarin\Android.Support.Design\23.3.0.0\embedded./ doesn't exist.
Please install package: 'Xamarin.Android.Support.Design' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.Design\23.3.0.0\embedded\classes.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Android resource directory C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v4\23.3.0.0\embedded./ doesn't exist.
Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v4\23.3.0.0\embedded\classes.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.v4' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v4\23.3.0.0\embedded\libs/internal_impl-23.3.0.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Android resource directory C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.AppCompat\23.3.0.0\embedded./ doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.AppCompat' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.AppCompat\23.3.0.0\embedded\classes.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.CardView' available in SDK installer. Android resource directory C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.CardView\23.3.0.0\embedded./ doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.CardView' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.CardView\23.3.0.0\embedded\classes.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Android resource directory C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.MediaRouter\23.3.0.0\embedded./ doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.MediaRouter\23.3.0.0\embedded\classes.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.MediaRouter' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.MediaRouter\23.3.0.0\embedded\libs/internal_impl-23.3.0.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.RecyclerView' available in SDK installer. Android resource directory C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.RecyclerView\23.3.0.0\embedded./ doesn't exist.
Please install package: 'Xamarin.Android.Support.v7.RecyclerView' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.v7.RecyclerView\23.3.0.0\embedded\classes.jar doesn't exist.
Please install package: 'Xamarin.Android.Support.Vector.Drawable' available in SDK installer. Android resource directory C:\Users\eth148\AppData\Local\Xamarin\Android.Support.Vector.Drawable\23.3.0.0\embedded./ doesn't exist.
Please install package: 'Xamarin.Android.Support.Vector.Drawable' available in SDK installer. Java library file C:\Users\eth148\AppData\Local\Xamarin\Android.Support.Vector.Drawable\23.3.0.0\embedded\classes.jar doesn't exist.
Reason: C:\Users\eth148\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file
Reason: C:\Users\eth148\AppData\Local\Xamarin\zips\2A3A8A6D6826EF6CC653030E7D695C41.zip is not a valid zip file
Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\eth148\AppData\Local\Xamarin\Android.Support.Design\23.3.0.0\content directory.
Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the C:\Users\eth148\AppData\Local\Xamarin\Android.Support.Design\23.3.0.0\content directory.

Answers

  • ClintStLaurentClintStLaurent ✭✭✭✭✭ USUniversity ✭✭✭✭✭

    Looks like you did more than just update Xamarin Forms. Looks like you updated the Android support libraries as well.
    Don't do that. Never manually update those libraries even when the NuGet package manager says there are updates available. It lies. Well... It is confused because its been lied to. The version numbers is all fraked on those for some reason.

    I suggest you go back into the NuGet package manager and uninstall all the Android Support libraries then uninstall the Xamarin forms NuGet package. Then re-install the latest Xamarin.Forms Nuget. Then STOP.

    NuGet package manager will pull in the correct dependency packages including the Android Support packages specified by the Xamarin.Forms NuGet.

    I updated the xamarin forms dll [...]

    That worries me. You didn't really go fiddling with the various DLLs manually did you? Don't do that. Let the NuGet package manager do its job.

Sign In or Register to comment.