Android 为什么新的google places api没有与build.gradle同步?
根据谷歌新发布的PlacesAPI。我已经完成了此链接中提到的所有操作,并为我的项目启用了计费,但仍然无法同步项目。 错误是Android 为什么新的google places api没有与build.gradle同步?,android,google-places-api,Android,Google Places Api,根据谷歌新发布的PlacesAPI。我已经完成了此链接中提到的所有操作,并为我的项目启用了计费,但仍然无法同步项目。 错误是 ERROR: Failed to resolve: com.google.android.libraries.places:1.0.0: Install Repository and sync project 我已经将android sdk、play services和google repository更新到最新版本。 我已经在stackoverflow和其他网站上搜索
ERROR: Failed to resolve: com.google.android.libraries.places:1.0.0:
Install Repository and sync project
我已经将android sdk、play services和google repository更新到最新版本。
我已经在stackoverflow和其他网站上搜索了很多,但是没有任何关于这个的问题
我的应用程序级别build.gradle文件为
我的项目级build.gradle文件是
《入门指南》具有错误的依赖项,尽管它在上是正确的。如上所示,实际的依赖关系是:
implementation 'com.google.android.libraries.places:places:1.0.0'
注意:还有一个:places compat依赖项。尽管《入门指南》上的依赖项是正确的,但它具有错误的依赖项。如上所示,实际的依赖关系是:
implementation 'com.google.android.libraries.places:places:1.0.0'
注意还有一个:places compat依赖项
implementation 'com.google.android.libraries.places:places:1.0.0'