我正在尝试将我的firebase-plugins依赖版本升级到1.1.2支持 Android Gradle 插件版本3+,但 Gradle 构建配置一直失败,除非我使用compile已弃用的版本。我正在使用 Play Services 版本11.4.2,并且firebase-perf像这样添加了依赖项,但失败了:
implementation "com.google.firebase:firebase-perf:$playServicesVersion"
修复它的唯一方法是将上面的内容更改implementation为compile. 有没有人找到解决这个问题的方法?(除了降级到firebase-plugins版本1.1.0-alpha1?)
这是错误消息:
* What went wrong:
A problem occurred configuring project ':app'.
> To use the Firebase Performance Plugin, the Firebase Performance Monitoring SDK must be added to the app's build.gradle. Please add compile 'com.google.firebase:f
irebase-perf:VERSION_NUMBER_GREATER_THAN_OR_EQUAL_TO_11.0.4' to the app's build.gradle.
编辑:这已在firebase-plugins:1.1.3.