首页 > 解决方案 > 在模块 jetified-play-services-places-9.2.1-runtime 中发现重复类 com.google.android.gms.location.places.zza

问题描述

我正在尝试在我的 android 应用程序中实现 AutoCompleteSupportFragment。为此,我有'com.google.android.libraries.places:places:2.4.0'依赖项。但是这个错误正在抛出,似乎 play-services 依赖项已经有了类似的类,我不能使用它。'com.google.android.gms:play-services:9.2.1'

我不想删除播放服务依赖项。如何解决这个问题。提前致谢。

Duplicate class com.google.android.gms.location.places.zza found in modules jetified-play-services-places-9.2.1-runtime (com.google.android.gms:play-services-places:9.2.1) and jetified-play-services-places-placereport-17.0.0-runtime (com.google.android.gms:play-services-places-placereport:17.0.0)

标签: androidkotlingoogle-play-servicesgoogleplacesautocomplete

解决方案


推荐阅读