I am trying to update all my support libraries, and I am getting a class definition definition exception of no, and I cannot understand why.
java.lang.NoClassDefFoundError: android.support.v7.app.AppCompatDelegateImplV14
at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:135)
at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:117)
at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:456)
at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:59)
Here are my addictions.
dependencies {
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.google.android.gms:play-services-gcm:7.5.0'
compile 'com.google.android.gms:play-services-location:7.5.0'
compile files('libs/android-support-v13.jar')
compile files('libs/json-simple-1.1.1.jar')
compile files('libs/jsoup-1.7.2.jar')
compile files('libs/libGoogleAnalyticsServices.jar')
compile files('libs/richnotification-v1.0.0.jar')
compile files('libs/sdk-v1.0.0.jar')
compile 'com.android.support:multidex:1.0.1'
}
And my configuration.
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
minSdkVersion 9
targetSdkVersion 23
multiDexEnabled true
}
configurations {
all*.exclude group: 'com.android.support', module: 'support-v4'
}
useLibrary 'org.apache.http.legacy'
}
Here is what I have tried so far.
None of this matters. What exactly am I doing wrong?
EDIT: . v-13 libs gradle v-4, .