【发布时间】:2019-03-31 03:10:52
【问题描述】:
我在 Flutter 应用程序中使用了两个插件 location: ^1.4.1 和 firebase_messaging: ^2.0.0
如果我使用单个它可以正常工作,但可以一起使用
What went wrong:
Failed to capture snapshot of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.
> The library com.google.android.gms:play-services-basement 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.
- 扑干净
- 正在尝试降级这两个插件的版本
- 和谷歌搜索
以上都不适合我。
应用级构建:implementation 'com.google.firebase:firebase-core:16.0.1'
项目级构建:classpath 'com.google.gms:google-services:4.0.1'
谢谢 :)
【问题讨论】:
标签: firebase flutter firebase-cloud-messaging