error in build.gradle (android studio) dependencies

1

I have an error I do not see the library 19.0.1 to add to dependencies of build.gradle. What can be the error? I attach images of the project. build.gradle

libraries

a>

    
asked by Diego 13.06.2016 в 12:23
source

2 answers

2

You must have defined your targetSDK as API 21, of course you must install the SDK.

android {
    compileSdkVersion 21
    ...
    ...

    defaultConfig {
        ...
        targetSdkVersion 21
        ...
    }
}

Ensure you have installed the API SDK 21

    
answered by 13.06.2016 / 16:05
source
1

It seems your reference is wrong. Enter buildToolsVersion "19.1" without ".0".

    
answered by 13.06.2016 в 16:10