android - Xamarin Android.dll (v9.0)

标签 android visual-studio xamarin

我已经更新了我的 VS2017,现在 xamarin 向我显示了这个警告:

The $(TargetFrameworkVersion) for App1.Android.dll (v9.0) is greater than the $(TargetFrameworkVersion) for your project (v8.1). You need to increase the $(TargetFrameworkVersion) for your project.

这只是警告,但我的某些代码在更新后不起作用。在我尚未更新的其他 PC 上 - 代码工作正常。谁能知道如何修复它?

最佳答案

我想你也更新了android sdk。 确保项目的版本与 App1 的属性匹配。

右键单击启动项目/属性 -> Android Manifest

Properties/Android Manifest

右击startup/reference project/Properties/Application enter image description here

关于android - Xamarin Android.dll (v9.0),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51881726/

相关文章:

android - 如何使用 REST 使用 Post 方法在 android 中获取 XML 信息?

c++ - 指向 C++ 中内联 __asm block 的指针

c# - Visual Studio 大型解决方案

c# - Datepicker 不会在 xamarin.forms 中的默认日期选择时触发 - Android

c# - Xamarin.Android 上的 JsonSerializationException 'Unable to find a constructor'

android - 如何通过数据绑定(bind)将其他布局 View 的内容传递到 onclick 中的演示者?

php - Android、PHP 和 JSON 之间的多个查询问题

java - 如何列出最近/正在运行的应用程序

c# - 如何组织 Windows Phone 代码库以同时针对 7.x 和 8 平台

c# - Visual Studio 2017 - 跨平台应用程序 - 无 PCL