我的颤振应用程序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'
谢谢:(
在您的项目中-转到Android>应用程序>build.gradle
在build.gradle底部的应用插件:'com.google.gms.google-services'
之后,可以添加以下内容来解决这个问题。
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true