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

后端 未结 9 2149
误落风尘
误落风尘 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 18:56

    I had the same issue. Removing all fabric references in build.gradle solved my case.

    you can try to remove

    apply plugin: 'io.fabric'
    

    and

    classpath 'io.fabric.tools:gradle:1.31.2'
    

    lines from your build.gradle file.

    Fabrics Crashlytics deprecated. If you are using Fabric Crashlytics you can replace it with Firebase Crashlytics.

提交回复
热议问题