報錯Error : Program type already present: android.support.design.widget.CoordinatorLayout$
方法一
support依賴版本改為27.1.1並新增一下配置
implementation 'com.android.support:appcompat-v7:27.1.1'
configurations {
all*.exclude group: 'com.android.support', module: 'support-v13'
}
無效
方法二:
新增:
implementation 'com.android.support:design:27.1.0'
成功