我已经在我的angular项目中安装了angular material,但是当我运行该项目时,我得到了这个错误。
ERROR in Metadata version mismatch for module C:/Users/Corandus/code/angular/webapp_2/node_modules/@angular/material/slide-toggle/typings/index.d.ts, found version 4, expected 3, resolving symbol AppModule in C:/Users/Corandus/code/angular/web
我试图将CoordinatorLayout与Androidx结合使用,但我有一个错误
The following classes could not be found: androidx.coordinatorlayout.widget.CoordinatorLayout
我不知道为什么我会有这个错误,尽管我把它的依赖。
我还试图更改androidx.appcompat的版本,但也得到了相同的错误。
Build.Gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
build