I generated an application which runs very well on systems with api levels higher than 20, I wanted to try an android s4 mini which has an api level 19 (Kit-Kat) someone can help me to give compatibility with this system.
I have reviewed some tutorials which led me to modify the project structure and modify compilesdk to version 19. but I have a problem with these two lines of gradle code
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
Try changing the first dependency to your verion 19.4.0 ie:
compile 'com.android.support:appcompat-v7:19.4.0'
and I have no problems but I can not do the same with the second dependcia. Can anybody help me. The application works with the navigation drawer component
This is my complete gradle file
apply plugin: 'com.android.application'
android {
compileSdkVersion 19
buildToolsVersion "24.0.2"
defaultConfig {
applicationId "com.example.kevtho.aplicacion"
minSdkVersion 19
targetSdkVersion 19
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile 'com.android.support:appcompat-v7:19.4.0'
compile 'com.android.support:design:23.4.0'
compile('com.android.support:support-v4:23.4.0') {
exclude group: 'com.android.support', module: 'support-v4'
}
compile 'com.google.android.gms:play-services:9.4.0'
testCompile 'junit:junit:4.12'
compile 'com.android.support:support-v4:23.2.1'
compile files('libs/btsdk.jar')
compile files('libs/gson-2.2.4.jar')
//compile files('libs/android-support-4.0.jar')
}