API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()

前端 未结 21 1472
离开以前
离开以前 2020-12-02 04:19

Using Android Studio 3.3 Canary 11 with the gradle plugin version 3.3.0-alpha11. It throws the following error when trying to sync gradle

WARNI         


        
相关标签:
21条回答
  • 2020-12-02 04:54

    this has been fixed in the latest release of the Fabric gradle plugin, 1.28.0, which went live today. Have this in your top-level build.gradle:

    buildscript {
    // ... repositories, etc. ...
    
    dependencies {
        // ...other dependencies ...
        **classpath 'io.fabric.tools:gradle:1.28.0'**
    }
    
    0 讨论(0)
  • 2020-12-02 04:55

    As it was said, the problem is with Fabric/Crashlytics.

    apply plugin: 'io.fabric'
    

    It's a bug on Crashlytics/Firebase side, please check the following link and see the bug' status : https://github.com/firebase/firebase-android-sdk/issues/198

    0 讨论(0)
  • 2020-12-02 04:55

    this will fix the error : On the taskbar click Tools->Kotlin->Configure Kotlin in Project

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