Huawei Mapkit Dependency Error: Could not find com. Huawei .



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

这里是华为地图套件kotlin演示。你可以试着直接运行这个演示。

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

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

最新更新