I receive this error and program crashes when I try to run the app on phone with older than API level 22. However the app works fine on phone with API level 22. What could be the reason for that.
here is my dependencies:
dependencies
{
compile 'com.google.code.gson:gson:2.3'
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:+'
compile 'com.android.support:support-v4:22.2.0'
compile 'com.google.android.gms:play-services:7.5.0'
compile 'com.facebook.android:facebook-android-sdk:4.3.0'
compile 'com.google.android.gms:play-services-analytics:7.5.0'
compile project(':volley')
compile project(':adjust_SDK')
compile project(':euromessageLib')
compile project(':com_viewpagerindicator')
compile files('libs/adxtag3.2.6.jar')
compile files('libs/jsoup-1.7.3.jar')
compile files('libs/CWAC-Adapter.jar')
compile files('libs/newrelic.android.jar')
compile files('libs/android-query-full.0.26.8.jar')
compile files('libs/khandroid-httpclient-4.2.3.jar')
compile files('libs/GoogleConversionTrackingSdk-2.2.1.jar')
compile('com.crashlytics.sdk.android:crashlytics:2.4.0@aar') {
transitive = true;
}
}
and
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.deneme"
minSdkVersion 14
targetSdkVersion 22
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
proguardFiles 'proguard.cfg'
}
}
productFlavors {
}
}
thanks for help