无法创建任务以上传 Proguard 映射 File.java.lang.IllegalStateException:正在解析配置 'androidTestAnnotationProcessor'

Cannot create tasks to upload Proguard Mapping File.java.lang.IllegalStateException: Resolving configuration 'androidTestAnnotationProcessor'

已升级到 Android Studio 3.0 canary 3 并随附 gradle-4.0-milestone-1-all 由于评估依赖项的新方法,当前插件在 https://firebase.google.com/docs/crash/android#uploading_proguard_mapping_files_with_gradle 中使用不再有效,运行 任务:

$ gradlew app:firebaseUploadReleaseProguardMapping

产生错误:

Cannot create tasks to upload Proguard Mapping File.java.lang.IllegalStateException: Resolving configuration 'androidTestAnnotationProcessor' directly is not allowed

有什么建议可以使这项工作有效吗?

更新来自 - groups.google.com/forum/#!topic/firebase-talk/JqnlnGK2ddY

变化自

    classpath('com.google.firebase:firebase-plugins:1.1.0') {

    classpath('com.google.firebase:firebase-plugins:1.1.0-alpha1') {

classpath 'com.google.firebase:firebase-plugins:1.1.5' 修复了问题。

参考:https://firebase.google.com/docs/crash/android#known_issue