-1
我该如何解决这个错误?在android studio中使用库
Error:(28, 21) No resource found that matches the given name: attr 'android:autofillHints'.
我该如何解决这个错误?在android studio中使用库
Error:(28, 21) No resource found that matches the given name: attr 'android:autofillHints'.
自动填充框架适用于Android SDK 26及更高版本。确保你已经更新你的build.gradle:
compileSdkVersion 26
buildToolsVersion "26.0.0"
defaultConfig {
minSdkVersion 26
targetSdkVersion 26
}
compile 'com.android.support:design:26.+'
android:autofillHints
是框架26版本的一部分。您似乎在使用SDK v25构建您的应用程序。