0
votes

I have installed Visual Studio 2017. I try to create application using mvvm cross. I sucessfully added mvvm cross library, but when I try to install MvvmCross.Plugin.DownloadCache package I got this:

Could not install package 'Xamarin.Android.Support.Compat 24.2.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

1

1 Answers

2
votes

To install Xamarin.Android.Support.Compat your application must target Android 7.0 or higher.

To fix this:

  • In Visual Studio:

    1. Right Click project > Properties > Application
    2. Set Target to 7.0 or higher, a good idea is also to Compile using Latest Platform
  • In Xamarin Studio:

    1. Right Click project > Options > Android Application
    2. Set Target to 7.0 or higher, a good idea is also to Compile using Latest Platform