Created a new project to try to work with the library. support:design added
compile 'com.android.support:design:22.2.0' depending and it worked.
I decided to add the same thing to the main project and showed me a mistake, I looked and understood that the problem is that the version
compileSdkVersion 23 higher than the library
compile 'com.android.support:design:22.2.0' i looked my
buildToolsVersion "23.0.2" and decided to put the version of the library too, and it began to look like this
compile 'com.android.support:design:23.0.2' This is how my build looks like
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.0' } } apply plugin: 'com.android.application' repositories { jcenter() } dependencies { compile 'com.android.support:design:23.3.0' compile 'com.android.support:appcompat-v7:24.0.0-alpha2' compile 'com.facebook.android:facebook-android-sdk:4.0.0' compile 'com.google.android.gms:play-services:6.5.87' compile 'com.android.support:cardview-v7:23.3.0' compile files('libs/svgandroid.jar') compile 'com.github.bumptech.glide:glide:3.5.2' compile files('libs/guava-16.0.1.jar') compile 'com.google.code.gson:gson:2.6.1' } // The sample build uses multiple directories to // keep boilerplate and common code separate from // the main sample code. List<String> dirs = [ 'main', // main sample code; look here for the interesting stuff. 'common', // components that are reused by multiple samples 'template'] // boilerplate code that is generated by the sample template process android { compileSdkVersion 23 buildToolsVersion "23.0.2" repositories { mavenCentral() } defaultConfig { minSdkVersion 21 targetSdkVersion 21 } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } sourceSets { main { dirs.each { dir -> java.srcDirs "src/${dir}/java" res.srcDirs "src/${dir}/res" } } androidTest.setRoot('tests') androidTest.java.srcDirs = ['tests/src'] } } build will get this window
Naturally clicked Install Repository and syns and got this window
It seems like the Internet is not enough, although the Internet works fine.
I tried to change the version of this library for different and different errors each time ...
What needs to be done to make it work?
I tried different versions, that's what happens when I connect
'com.android.support:design:23.3.0' What resources are already identified and shows an error .. What does this mean?


