谷歌服务插件和数据绑定问题

问题描述 投票:0回答:2

我在我的项目中使用databinding。然后我想使用Firebase所以我在我的项目中添加了google service plugin

classpath com.google.gms:google-services:3.3.1

在此之后...我的项目无法编译错误:

在依赖解析中包含配置dependencies后,无法更改:app:api

如果我禁用databinding ..或删除google service plugin,此错误将消失。

我还是想用databinding ..帮忙!

android data-binding google-play-services
2个回答
2
投票

只是意识到这是一个已知的问题。现在没有解决方案。现在需要禁用谷歌服务插件https://issuetracker.google.com/issues/79122163


1
投票

更新后错误已消失

classpath 'com.google.gms:google-services:4.0.1'

© www.soinside.com 2019 - 2024. All rights reserved.