根据谷歌新的places API ( https://developers.google.com/places/android-sdk/start )。错误是 ERROR: Failed to resolve: com.google.android.libraries.places:1.0.0:
Install Repository and sync我在stackoverflow和其他网站上搜索了很多,但这是毫无疑问的。
在我尝试将依赖项'com.google.android.libraries.places:places:1.1.0‘添加到我的build.gradle之前,该项目工作得很好。我收到这个错误"in The library com.google.android.gms:play-services-basement is requested by各种其他库[15.0.1,15.0.1],但解析为16.2.0.禁用插件并使用.'
/
我在我的应用程序中使用了google place api的place自动完成功能,但它会立即自动关闭。我尝试了片断和活动,但两者都很接近。日志错误:
01-23 13:19:55.614 904-2734/?E/Places: Places API for Android does not seem to be enabled for your app.See https://developers.google.com/