Compilation error on mobile device with xamarin.forms

1

I try to compile an app on a mobile device android 7.0 Xiomi Redmi note 4 but it's as if I was doing it in an emulator.

The error that shows me is the following:

  

Compilation error: Xamarin.Android does not support the execution of the previous version. Make sure that the solution is compiled before running or debugging it.

I hope you can help me, greetings.

    
asked by Dennis Vasquez 23.04.2018 в 19:58
source

1 answer

1

Look for the target API in your project, it is very likely that a smaller version of android will be selected than the one to be used.

In project - > Properties changes the target (target) and compilation to the desired version.

    
answered by 23.04.2018 в 20:03