Following is the build.gradle code in Android Studio
apply plugin: \'com.android.application\' android { compileSdkVersion 23 buildToolsVersion \"23
The problem is probably you're using a Gradle version rather than 3. go to gradle/wrapper/gradle-wrapper.properties and change the last line to this:
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip