在gradle中添加,但是编译不通过

compile 'com.android.support:design:24.1.1'

在gradle中添加,但是编译不通过,

需要把compile 改成

build gradle module

dependencies {

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'

}


posted @ 2023-09-06 10:49  林风沐雨  阅读(28)  评论(0)    收藏  举报