问题描述
我已经下载了Xamarin
Studio,并且正在尝试将MapsAndLocationDemo3示例用于MapWithOverlaysActivity项目.
I have downloaded Xamarin
Studio and am trying to use the MapsAndLocationDemo3 sample with the MapWithOverlaysActivity project.
我遇到以下错误:
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)
在Android SDK Manager
中,我安装了Android 4.4 (API 19)
的所有选件以及Google Play服务.
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?
谢谢
推荐答案
希望您已经知道了,因为它已经发布了很久了.
Hopefully you've figured this out by now since it was posted quite some time ago.
今天晚上我遇到了这个问题.通过在诸如Notepad ++之类的文件中打开.csproj文件,将AndroidUseLatestPlatformSdk从True更改为False,然后重新构建,我能够解决该问题.如果您的问题相同,希望这会有所帮助.
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.
这篇关于MapWithOverlaysActivity-无法确定$(TargetFrameworkVersion)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!