google-maps - 当我将 Googleplayservices v71 与 Xamarin Forms Maps v4.3 一起使用时出现异常
问题描述
当我想显示谷歌地图时,我得到:
Java.Lang.NoClassDefFoundError:'解析失败:Lcom/google/android/gms/dynamic/zza;'
在我安装之前它工作正常:
xamarin.GooglePlayServices.Base 71.1610.0 和 xamarin.GooglePlayServices.Basement 71.1620.0
我需要这两个插件,因为 Com.OneSignal 需要它们。
当我卸载 Com.Onesignal 时它也不起作用,但是当我再次卸载 xamarin.GooglePlayServices.Base 和 xamarin.GooglePlayServices.Basement 时,我没有再次收到异常并显示地图。但是没有通知:(
我使用 Xamarin Forms 4.3.0.947036 并使用 shell 项目。
解决方案
推荐阅读
- powershell - 如何通过powershell提取csv中多列中的单个单元格值
- pdf - 将 GeoPDF 转换为 GeoTIFF
- flutter - ListView 构建器在自动完成小部件中消耗的空间超过了必要的空间
- python - 找到所有可能的方法来构建特定的字符串
- raspberry-pi - 在本地网络网站中使用 Google OAuth
- arrays - 在打字稿中将数据从一行重复到另一行
- javascript - 在其自身之后克隆节点(不在任何地方......)
- flutter - 如何在颤动中将TextFormField定位到屏幕底部
- ios - 查找我的设备(例如 AirTag)是否知道它们何时被 ping 通?
- javascript - 警告:道具“数据回调”的值无效标签。从元素中删除它,或者传递一个字符串或数字值以将其保留在 DOM 中