Reputation: 985
I have a problem when I want to upgrade a Xamarin app from Android 9.0 to Android 10.
/Users/user/.nuget/packages/xamarin.forms/4.8.0.1269/buildTransitive/Xamarin.Forms.targets(5,5):
Warning: Xamarin.Forms recommends TargetPlatformMinVersion >= 10.0.14393.0 (current project is -1) (WeatherApp)
The error is on this part of the code:
<Warning
Text="Xamarin.Forms recommends TargetPlatformVersion >= 10.0.17763.0 (current project is $(MicrosoftUIXamlTargetPlatformCheckValue))"
Condition="$(MicrosoftUIXamlTargetPlatformCheckValue) < 17763" />
I want to run this app on Android 10, but every clean build and run app on a real Android device app not responding every time.
Upvotes: 15
Views: 6734
Reputation: 5122
I had the same problem and it went away when I updated my Xamarin.Forms
NuGet package to version 5.0.0.2545
: I just cleaned the whole solution and rebuild it after installing the update.
Upvotes: 1
Reputation: 24
I have been facing similar issue in release mode after lot of search I have found the fix that worked for me
Setting up the build configurations under configuration mapping to release worked for me
make sure all the release configuration build is checked under configuration mapping.
Upvotes: 0