2

How to SOlved that error please answer details

unable to resolve class com.android.build.OutputFile

1 Answers1

0

As said by @Dipan check if your android/build.gradle has a classpath defined in dependencies.

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:4.1.0") // <- this line

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
Rohit Aggarwal
  • 1,048
  • 1
  • 14
  • 32