A
A
Alexander Nikulshin2020-11-12 11:40:35
Xamarin
Alexander Nikulshin, 2020-11-12 11:40:35

How to start building a Xamarin project for Android 7.0?

Created a new xmarin project in VS 2019 and chose the target platform android 7.0. When starting the project, it gives an error:
Error NU1202 Package Xamarin.Android.Support.v7.CardView 27.0.2.1 is incompatible with monoandroid70 (MonoAndroid,Version=v7.0). Package Xamarin.Android.Support.v7.CardView 27.0.2.1 supports: monoandroid81 (MonoAndroid,Version=v8.1) App4.Android C:\Users\xasya\source\repos\App4\App4\App4.Android\App4.Android .csproj 1 Tell me

how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-11-12
@tentrun

It's written

Xamarin.Android.Support.v7.CardView 27.0.2.1 несовместим с monoandroid70

And further
Пакет Xamarin.Android.Support.v7.CardView 27.0.2.1 поддерживает: monoandroid81

Read the compiler error, not flood on Habré.
Remove the NUget package, it's incompatible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question