Error
The following error occurs in android studio build
resource android:color/system_neutral1_1000 not found.
solution
Make sure the following is included in build.gradle(Module).
dependencies {
implementation 'com.google.android.material:material:1.5.0'
}
Set compileSdk to 31 or higher.
android {
compileSdk 31
}
将compileSdk, compileSdkVersion,targetSdk 都改成31