【发布时间】:2021-03-09 20:13:22
【问题描述】:
请帮忙:导入android.support.design.widget.TabLayout时出错
它说"can not resolve symbol 'design'
我的 build.gradle:
compileSdkVersion 26
buildToolsVersion "26.0.0"
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2',
{
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:support-v4:26'
testCompile 'junit:junit:4.12'
}
【问题讨论】:
标签: android android-gradle-plugin android-support-library android-tablayout android-design-library