compile 'com.android.support:design:24.1.1'
在gradle中添加,但是编译不通过,
需要把compile 改成
build gradle module
dependencies {标签:androidx,implementation,gradle,编译,添加,android,com,junit From: https://www.cnblogs.com/fairylandcom/p/17681696.html
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
//noinspection GradleCompatible,GradleCompatible
implementation 'com.android.support:design:24.1.1'
}