Error variant.getExternalNativeBuildTasks (EVENBT)

Hi guys, I just had a problem with gradle. Starting from upgrading my laptop to god specs and automatically setting up android studio, upgrading to the latest version 3.4.x.

An error like this appears:

Error 'variant.getExternalNativeBuildTasks()' replaced with 'variant.getExternalNativeBuildProviders()

Error 'variant.getExternalNativeBuildTasks()' replaced with 'variant.getExternalNativeBuildProviders()

Well, unfortunately when I followed all the version update alerts, the results were not as smooth as Blackpink's thighs, there I got a problem with the error as in the title.

Based on the discussion on stackoverflow this is due to expired fabric.io dependency. A glance is the location of the error in one of the app build.gradle code blocks

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.25.4'
    }
    buildscript {
        repositories {
            maven { url "https://maven.google.com" }
            maven { url 'https://maven.fabric.io/public' }
            mavenCentral()

        }

        dependencies {
            // These docs use an open ended version so that our plugin
            // can be updated quickly in response to Android tooling updates

            // We recommend changing it to the latest version from our changelog:
            // https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin
            classpath 'io.fabric.tools:gradle:'
        }
    }
}

The solution is to please change the latest release version 'io.fabric.tools:gradle:1.28.0'

Please update your both gradle fabric tools with 1.28.0

Ok done!


Post a Comment

Previous Next

نموذج الاتصال