Google's new Places Library ( implementation 'com.google.android.libraries.places:1.0.0') not resolving

混江龙づ霸主 提交于 2019-12-01 03:40:09

that dependency is invalid; that should be:

dependencies {
    implementation "com.google.android.libraries.places:places:1.1.0"
}

see the migration guide.

This is not an issue from your side, but from Google's. You might have got the dependency from this link https://developers.google.com/places/android-sdk/start right? They have provided this dependency there:

dependencies {
    implementation 'com.google.android.libraries.places:1.0.0'
}

But instead you have to follow this link https://developers.google.com/places/android-sdk/client-migration, where you will get the correct dependency. which is :

dependencies {
    implementation 'com.google.android.libraries.places:places:1.0.0'
}
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!