Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MapWithOverlaysActivity - Could not determine $(TargetFrameworkVersion)

I have downloaded Xamarin Studio and am trying to use the MapsAndLocationDemo3 sample with the MapWithOverlaysActivity project.

I am getting the following error:

C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error XA0000: Could not determine $(TargetFrameworkVersion) for API level '19.' (XA0000) (SimpleMapDemo)

In the Android SDK Manager I have installed all the options for Android 4.4 (API 19) as well as the Google Play services.

Can I please have some help to get this sample working?

Thanks

like image 444
user22707 Avatar asked Oct 03 '22 02:10

user22707


1 Answers

Hopefully you've figured this out by now since it was posted quite some time ago.

I had this issue this evening. I was able to resolve it by opening the .csproj file in something like Notepad++, changing AndroidUseLatestPlatformSdk from True to False, and rebuilding. If your issue is the same, hopefully this will help.

like image 192
schummbo Avatar answered Oct 13 '22 11:10

schummbo