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

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

    This happens due to the update of your Android Studio from Android Studio 3.2.0 to Android Studio 3.3.0. Update Your Gradle Dependencies (Project)of IO.Fabric. Like:

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

    and also update your Kotlin version to

    classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.20"
    

    This will resolve this issues. Thanks

提交回复
热议问题