Following is the build.gradle code in Android Studio
apply plugin: \'com.android.application\' android { compileSdkVersion 23 buildToolsVersion \"23
I had buildToolsVersion "27.0.1", upgrading it to 27.0.2 fixed the issue.
buildToolsVersion "27.0.1"
27.0.2
Also, my android support deps were at version 27.0.2 so they were not aligned to the buildToolsVersion
buildToolsVersion