Got this 4 errors:
Error:(23, 24) Failed to resolve: com.android.support.test.espresso:espresso-core:2.2.2
Error:(26, 13) Failed to resolve: com.android.support:appcompat-v7:24.0.0
Error:(27, 13) Failed to resolve: com.android.support:design:24.0.0
Error:Failed to resolve: com.android.support:support-v4:24.0.0
The code:
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "com.adir.remember"
minSdkVersion 15
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
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:24.0.0'
compile 'com.android.support:design:24.0.0'
compile 'com.google.firebase:firebase-appindexing:10.0.0'
}
How can I fix errors above?