Android Studio 3.1.4 报错Failed to find style 'coordinatorLayoutStyle' in current theme

使用最新版的AS3.1.4安装后 运行hello world程序,预览报错Failed to find style ‘coordinatorLayoutStyle’ in current theme。
如图。
Android Studio 3.1.4 报错Failed to find style 'coordinatorLayoutStyle' in current theme
网上找了些方法,没解决,然后去Google找了下,在stackoverflow上找到了解决办法。
由于这个版本的AS我安装的是28的Android SDK,据说是版本太高了,stackoverflow上说将版本该为27就好使了。附原问题链接:Stack Overflow
更改\MyApplication\app\build.gradle文件
如图:
Android Studio 3.1.4 报错Failed to find style 'coordinatorLayoutStyle' in current theme
compileSdkVersion 28
targetSdkVersion 28
改为
compileSdkVersion 27
targetSdkVersion 27
依赖版本号改为:
implementation ‘com.android.support:appcompat-v7:27.1.1’
implementation ‘com.android.support:design:27.1.1’
然后AS提醒你,更改后呀同步。
Android Studio 3.1.4 报错Failed to find style 'coordinatorLayoutStyle' in current theme
同步后查看效果,虽然还是在报错,不过已经可以预览了。
Android Studio 3.1.4 报错Failed to find style 'coordinatorLayoutStyle' in current theme
Android Studio 3.1.4 报错Failed to find style 'coordinatorLayoutStyle' in current theme