![](https://img-blog.csdnimg.cn/20190531161728492.png)
compileSdkVersion 修改为28
添加如下依赖
implementation 'androidx.appcompat:appcompat:1.0.0-alpha1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
compileSdkVersion 修改为28
添加如下依赖
implementation 'androidx.appcompat:appcompat:1.0.0-alpha1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.2'