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

后端 未结 9 2142
误落风尘
误落风尘 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:10

    If you are using com.google.firebase:firebase-crashlytics-gradle dependency in your project, just update to version 2.0.0-beta04 it is helped to me.

    0 讨论(0)
  • 2020-12-30 19:11

    On Android Studio simply open build.gradle (Project) and the IDE should suggest an update to crashlytics, accept that and the error will be gone.

    0 讨论(0)
  • 2020-12-30 19:12

    I am using Fabrics Crashlytics and i got the same error after updating my Android plugin for Gradle to version 4.1:

    classpath 'com.android.tools.build:gradle:4.1.0-rc01'
    

    I need to upgrade gradle plugin to upload native debug symbols to Google play console as stated in this link. https://developer.android.com/studio/preview/features#native-crash-symbolization

    To use Android plugin for gradle version 4.1, your minimum gradle version needs to be version 6.5. I used gradle version 6.5.1

    distributionUrl=https\://services.gradle.org/distributions/gradle-6.5.1-all.zip
    

    Upgrading from Fabric Crashlytics to Firebase Crashlytics solved the issue for me, this could be because fabric is not compatible with the newer versions of Android plugin for gradle. For more information on how to upgrade from Fabric crashlytics to Firebase Crashlytics. Check out this link https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android

    0 讨论(0)
提交回复
热议问题