huawei-mobile-services - 未解析引用: xms.华为Xms适配层不工作

标签 huawei-mobile-services huawei-developers huawei-map-kit

我正在尝试为我的应用添加 G+H 解决方案。我已经从HMS工具包完成了转换。但转换后,它在 xms 导入上给了我错误,也给了我有关的错误

无法解析配置“:classpath”的所有工件。

Could not find com.huawei.agconnect:agconnect-apms-plugin:1.5.1.300. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/huawei/agconnect/agconnect-apms-plugin/1.5.1.300/agconnect-apms-plugin-1.5.1.300.pom - https://jcenter.bintray.com/com/huawei/agconnect/agconnect-apms-plugin/1.5.1.300/agconnect-apms-plugin-1.5.1.300.pom - https://developer.huawei.com/repo/com/huawei/agconnect/agconnect-apms-plugin/1.5.1.300/agconnect-apms-plugin-1.5.1.300.pom Required by: project :

可能的解决方案:

最佳答案

该问题可能是由于您的 APM 插件造成的。尝试将其更改为 classpath 'com.huawei.agconnect:agconnect-apms-plugin:1.4.1.306' 可能会解决您的问题。

enter image description here

详情请查看Docs .

关于huawei-mobile-services - 未解析引用: xms.华为Xms适配层不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66652570/

相关文章:

android - 在 HMS 设备上使用 Geocoder 对纬度/经度坐标进行反向地理编码

push-notification - 如何防止用户在使用HUAWEI Push Kit的消息接收函数API时恶意调用该函数?

flutter - 是否有 Braze 与 push_kit HMS 的最佳实践集成 - Flutter

java - HMS Map Kit - 如何将相机缩放设置为当前位置?

android - 华为 map 没有响应 Offstage Flutter

android - 华为 HMS Maps Android Codelab 不工作

android - 以编程方式检查 android 设备是否有 Google Play?

android - HMS Map toolkit - 渲染 map 的问题

android - 如何在华为设备上进行深度链接?

flutter - HMS Core Playstore 版本无法使用华为帐号登录