android - 库 com.google.android.gms :play-services-base is being requested by various other libraries at [15. 0.1,15.0.1],但解析为 16.0.1

标签 android performance android-studio android-layout android-fragments

当我将我的 android 应用程序连接到 firebase 时,我遇到了这个问题,当我将它连接到 firebase 身份验证时,它带来了这个错误:

The library com.google.android.gms:play-services-base is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies..

请指导我如何解决这个错误。

最佳答案

更改您的 google 服务类路径版本classpath 'com.google.gms:google-services:3.2.1'

关于android - 库 com.google.android.gms :play-services-base is being requested by various other libraries at [15. 0.1,15.0.1],但解析为 16.0.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53033614/

相关文章:

java - 数据绑定(bind)插件使用旧版本的支持库

android-studio - Android Studio 生成数百个重复的 "2"文件

android - 在 ListView 中选择任何列表项时不调用 OnItemSelected 方法

html - 访问文件结构中数据的pythonic方式

windows - 如何让 Windows 在编译 C++ 时与 Linux 一样快?

android 应用程序速度/帧率?

android - 签名的 Apk 崩溃,不能通过 Android Studio 直接安装

android - 动态填充ListActivity

android - 将 LiveData 转换为 MutableLiveData

java - Android View 更改 - 按钮状态重置