Last night, I upgrade my android studio from 3.0.1 to 3.1, and rebuild my project, and I got the error as show below.
CHECKED LIST:
compileSdkVersion 27
buildToolsVersion '27.0.3'
classpath 'com.android.tools.build:gradle:3.1.0'
implementation 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:design:27.1.0'