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

前端 未结 21 1474
离开以前
离开以前 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'**
    }
    

提交回复
热议问题