ERROR: Gradle DSL method not found: 'mavenCentra()'
Possible causes:
The project 'BenchmarkDemo' may be using a version of Gradle that does not contain the method.
Open Gradle wrapper file
The build file may be missing a Gradle plugin.
Apply Gradle plugin
other details
compileSdkVersion 28
buildToolsVersion "28.0.3"
minSdkVersion 18
targetSdkVersion 28
@vikasrathore Is this still an issue? Based on the error message, looks like you might have a typo in your build.gradle (mavenCentral(), not mavenCentra())
ERROR: Gradle DSL method not found: 'mavenCentra()' Possible causes: The project 'BenchmarkDemo' may be using a version of Gradle that does not contain the method. Open Gradle wrapper file
The build file may be missing a Gradle plugin. Apply Gradle plugin
other details compileSdkVersion 28 buildToolsVersion "28.0.3" minSdkVersion 18 targetSdkVersion 28