首页 > 解决方案 > 对经度和纬度使用 GeoLocator 在 Xamarin 表单中给出以下错误

问题描述

严重性代码描述项目文件行抑制状态工具错误java.lang.IllegalArgumentException:已添加:Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat; GPS.Android 在此处输入图像描述

GPS 是我的项目名称。

在此处输入图像描述

标签: c#xamarinxamarin.formsxamarin.androidgeolocation

解决方案


只需将 Xamarin.Android.Support 包更新到最新版本。这应该做。


推荐阅读