【发布时间】:2021-05-23 12:40:30
【问题描述】:
我一直在尝试将 Google Maps v3.1.0 与 Places API 集成到我的 Android 应用程序中,following the documentation。这是我的 app-level build.gradle 文件中的依赖项实现:
implementation "com.google.android.gms:play-services-location:17.1.0"
implementation 'com.google.android.gms:play-services-auth:19.0.0'
implementation 'com.google.android.libraries.maps:maps:3.1.0-beta'
//This is where gradle build is failing
implementation name:'places-maps-sdk-3.1.0-beta', ext:'aar'
implementation 'com.google.android.gms:play-services-gcm:17.0.0'
implementation 'com.google.auto.value:auto-value-annotations:1.6.2'
implementation 'com.google.maps.android:android-maps-utils-v3:1.3.1'
在 Gradle Build 上,我收到以下错误:
Failed to resolve: :places-maps-sdk-3.1.0-beta:
Affected Modules: app
我哪里做错了?
【问题讨论】:
标签: android google-maps-api-3 android-gradle-plugin build.gradle google-places-api