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

前端 未结 21 1526
离开以前
离开以前 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:38

    It was a problem with latest gradle (in my case 3.3.2) version and Fabric.io plugin. It is now solved by the new version Users should have this in their top-level build.gradle:

    buildscript {
       // ... repositories, etc. ...
    
        dependencies {
            // ...other dependencies ...
            classpath 'io.fabric.tools:gradle:1.28.0'
        }
    }
    

提交回复
热议问题