android - 在模块 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)
解决方案
推荐阅读
- android - React Native Android APK 问题 - 在模拟器上运行良好
- cygwin - cygwin rsync 有效,但在使用 sshpass 时无效
- python - 当我在 html 文件中进行更改并运行烧瓶应用程序时,没有反映更改
- visual-studio-code - 无法在远程计算机上运行的 vs-code 中使用 alt+ctrl+up/down 快捷方式
- python - 使用来自外部 csv 文件的链接读取下载文件
- asp.net-mvc - MVC - 加载视图后在按钮单击时传递字符串
- java - 在批处理文件中使用 wget 下载 JDK 安装程序
- vba - 检查文件是否在数据库中链接
- typo3 - TYPO3 Extension Pagerenderer 禁用 addJsInlineCode 的缓存
- python - 在 Python 3 中更新特定的网格单元