【问题标题】:Huawei Mapkit Dependency Error: Could not find com.huawei.hms:maps:6.0.0.301. Required by: project :app [closed]华为 Mapkit 依赖错误:找不到 com.huawei.hms:maps:6.0.0.301。要求:项目:app [关闭]
【发布时间】:2021-08-10 19:44:44
【问题描述】:

我需要在我的 Kotlin 项目中添加华为 Mapkit。但是当我添加依赖项并按下同步按钮时,我收到了这个错误。我正在实现所有依赖项和文件,但我仍然收到此错误。谁能帮帮我?

【问题讨论】:

    标签: android kotlin huawei-mobile-services huawei-developers huawei-map-kit


    【解决方案1】:

    Here是华为map kit kotlin demo。您可以尝试直接运行此演示。

    并检查是否在 build.gradle 中添加了“https://developer.huawei.com/repo/”:

    repositories {
        maven { url 'https://developer.huawei.com/repo/' }
        google()
        jcenter()
    }
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-12-22
    • 2021-02-25
    • 1970-01-01
    • 1970-01-01
    • 2012-03-10
    • 1970-01-01
    • 2023-03-19
    • 1970-01-01
    相关资源
    最近更新 更多