【问题标题】:Using GeoLocator for Longitude and Latitude giving the following error in Xamarin forms对经度和纬度使用 GeoLocator 在 Xamarin 表单中给出以下错误
【发布时间】:2018-10-17 14:26:13
【问题描述】:

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

其中 GPS 是我的项目名称。

【问题讨论】:

  • 在您的第一个屏幕截图中,最右侧的项目名称似乎是“Location_Track”。
  • 在安装 nuget 包或构建项目时是否遇到错误?

标签: c# xamarin xamarin.forms xamarin.android geolocation


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-11-14
    • 2021-05-17
    • 2018-09-09
    • 1970-01-01
    • 1970-01-01
    • 2018-10-26
    • 2014-12-08
    相关资源
    最近更新 更多