I am using Android 1.3 version and SDK for 5.0.1 I decrepeted it because whenever I build project it throws error.
Can anyone please tell in detail
You have to update your SDK to the API 23 (in case you are compiling with 23).
compileSdkVersion, and Support Libraries version should be same. The below code indicate that these are same as at line 3 and 2nd line in dependencies.
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
applicationId "com.example.inzi.app"
minSdkVersion 9
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.0'
}
You are using the appcompat (and other support libraries) v23 .
You have to compile your project with API 23.
Change in your build.gradle the compileSdkVersion to 23