Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Right version (Framework and target) tfor Visual Studio

$
0
0

I have several devices with different versions of Android (4.4 or higher).

On this page (developer.xamarin.com/guides/android/application_fundamentals/android-api-levels/) I read that the project should be set up like this: "Minimum Android Version <= Target Android Version <= Target Framework__" and "We recommend that you always compile with the latest available Target Framework version".
I tried 4.4 <= 4.4 <= 8.0 but in this way, however, I get a runtime error on 4.4 devices for: "button.Background.SetTint()" (it's right I suppose).

If I set the Target Framework version to 4.4 Visual Studio warns me of error for "SetTint()" but I can not install nuget package "Xamarin.Google.Play.Services.Base" (even if I try to install version 32.961.0:
"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=v4.4', but the pack age does not contain any assembly references or content files that are compatible with that framework.").

??


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>