Voglio cambiare il mio compileSdkVersion dal 23 al 21.Così ho apportato le seguenti modifiche nel build.gradle ma sto ottenendo il seguente errore. Come posso risolvere Questo?Errore: impossibile trovare il target con la stringa hash 'android-21'
non è riuscito a trovare bersaglio con stringa hash 'Android-21'
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.shalabh.fly"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.0.1'
compile files('libs/httpclient-4.1-beta1.jar')
}
e ti hanno scaricarlo, non è vero? – Blackbelt
Sì, ho scaricato sdk21 – user317461
Android Studio offre qualche indizio su cosa manca? – Blackbelt