Как решить не удается найти символ метода addOnTabSelectedListener в андроид студии?Я пытался добавить зависимости по-прежнему ошибка сохраняется
Ниже мой файл buid.gradle
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
defaultConfig {
applicationId "com.parse.starter"
minSdkVersion 21
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'com.android.support:appcompat-v7:23.4.0'
implementation 'com.parse.bolts:bolts-tasks:1.3.0'
implementation 'com.parse:parse-android:1.13.0'
implementation 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:design:23.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:design:23.4.0'
}
Журнал не удалось скомпилировать ресурс Android
C:\Users\JEFF\Desktop\Instagram\ParseStarterProject\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2979: error: duplicate value for resource 'attr/layout_scrollFlags' with config ''.
C:\Users\JEFF\Desktop\Instagram\ParseStarterProject\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:2979: error: resource previously defined here.
C:\Users\JEFF\Desktop\Instagram\ParseStarterProject\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3059: error: duplicate value for resource 'attr/behavior_peekHeight' with config ''.
C:\Users\JEFF\Desktop\Instagram\ParseStarterProject\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3059: error: resource previously defined here.
C:\Users\JEFF\Desktop\Instagram\ParseStarterProject\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3108: error: duplicate value for resource 'attr/layout_collapseMode' with config ''.
C:\Users\JEFF\Desktop\Instagram\ParseStarterProject\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3108: error: resource previously defined here.
C:\Users\JEFF\Desktop\Instagram\ParseStarterProject\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3230: error: duplicate value for resource 'attr/layout_anchorGravity' with config ''.
C:\Users\JEFF\Desktop\Instagram\ParseStarterProject\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:3230: error: resource previously defined here.