我正在尝试在android应用程序中实现,但我得到了以下例外。: 9011: The provided API key is invalid.: 9011: The provided API key is invalid.W/System.err: at com.google.android.libraries.places.internal.zzbo.zza(com.google.android.libraries.places:places@@2.2.0:5)
我一直在尝试将Google v3.1.0与的Places一起集成到我的安卓应用程序中。这是应用程序级build.gradle文件中依赖项的实现:implementationcom.google.android.libraries.maps:maps:3.1.0-beta'
//This is where gradle build is failing
在我目前正在开发的应用程序中,我们使用了两种谷歌地图API:places和timezone。在文档中,我发现对于时区API,我们不能使用HTTP referrer限制类型(但它适用于places )。使用HTTP referrer for timezone API,我得到了错误API keys with referer restrictions cannot be used with this API当我将应用服务器IP地址添加到timezone API</em
我遵循了一个关于使用placesapi查找附近地点的tut,并尝试将其集成到我的应用程序中。nearyplaceactivity正在运行,但place结果未显示。",06-30 07:11:42.515: E/AndroidRuntime(743): at com.google.api.client.util.Cl