bluelinelabs / LoganSquare

Screaming fast JSON parsing and serialization library for Android.
Apache License 2.0
3.21k stars 306 forks source link

not comatible with com.android.tools.build:gradle:3.5.2 #233

Open vikasrathore opened 4 years ago

vikasrathore commented 4 years ago

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

MichaelEvans commented 3 years ago

@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())