Need a bit of help here!, I have built an application with min api level 15 and target api level 23, now the problem is when i deploy the app on to a phone with api 19 or any phone less than api 22 the app crashes on start up. Please help me out guys? I tried adding permissions in the manifest file but in the end it would be overriden by the build.gradle(Module App) file. I am confused with it and trying to resolve it. Please help me out!
Thanks in Advance!
plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.something.sampleapp"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
}
dependencies {
compile fileTree(include: '*.jar', dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
compile 'com.google.android.gms:play-services:9.0.1'
}