No such property: scope for class: com.android.build.gradle.internal.variant.ApplicationVariantData

后端 未结 9 2203
误落风尘
误落风尘 2020-12-30 18:26

After updating to Android Studio 4 I got this error: A problem occurred configuring project \':app\'.

groovy.lang.MissingPropertyException: No such pr

9条回答
  •  悲&欢浪女
    2020-12-30 19:07

    Update in OCTOBER 2020 : Fabric is deprecated, so remove all plugin and dependency depend on Fabric.io

    like :

    apply plugin: 'io.fabric'
    
    
    classpath 'io.fabric.tools:gradle:1.31.2'
    
    
    
    maven {
            url 'https://maven.fabric.io/public'
        }
    

    and after deletaion you must add :

     classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
    

    in your build gradle.

    https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android

提交回复
热议问题