Reputation: 855
When I try to create new cross platform xamarin form project then I get "Package Installation Error". I am using Visual Studio Professional 2015 Version 14.0.25431.01 Update 3.
I have already tried
1. Update "Visual studio tools for xamarin".
2. Repair Visual studio
Please suggest me, how to solve this problem.
Upvotes: 4
Views: 939
Reputation: 74134
Your project is currently targeting Android 6.0 but Android Support libraries v25.x require that you set your target framework (compileSdkVersion
) to at least API 24 (Android 7.0) Nougat.
MonoAndroid 7.0:
Xamarin.Android.Support.Animated.Vector.Drawable (= 25.4.0.2)
Xamarin.Android.Support.Compat (= 25.4.0.2)
Xamarin.Android.Support.Core.UI (= 25.4.0.2)
Xamarin.Android.Support.Core.Utils (= 25.4.0.2)
Xamarin.Android.Support.Fragment (= 25.4.0.2)
Xamarin.Android.Support.Media.Compat (= 25.4.0.2)
Xamarin.Android.Support.Vector.Drawable (= 25.4.0.2)
re: Understanding Android API Levels
FYI: Open the Android SDK Manager and ensure that you have at least API-24's SDK installed, while you are there, install 25/26 and update the build tools and the rest of the SDK tool items
Upvotes: 6