Huawei Mapkit Dependency Error: Could not find com.huawei.hms:maps:6.0.0.301. Required by: project :app

Viewed 183

I need to add Huawei Mapkit on my project in Kotlin. But when i add Dependency and pressed to sync button i am getting this error. I was implement all dependency and files but i am still getting this error. Anyone could help me?

1 Answers

Here is huawei map kit kotlin demo. You could try to run this demo directly.

And check if added the 'https://developer.huawei.com/repo/' in build.gradle:

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