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

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

    For me, I followed these steps: 1. upgrade the Gradle dependency on project level build.gradle.

            classpath 'io.fabric.tools:gradle:1.28.0'
    
    1. add this plugin dependency below apply plugin: 'com.android.application' in the app level build.gradle.

          apply plugin: 'io.fabric'
      
    2. Sync the project with gradle files.

提交回复
热议问题