我在运行应用程序时遇到此问题。我没有更新我的android工作室,并且排除了所有支持库。 搜索了所有stackoverflow / github但无法找到解决方案 这是我的build.gradle文件
compile fileTree(dir: 'libs', include: ['*.jar'])
compile (project(':snaphyandroidsdk')) {
exclude module: 'support-v4'
}
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile ('com.android.support:support-v4:23.4.0') {
exclude module: 'support-v4'
}
compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
transitive = true;
exclude module: 'support-v4'
}
compile ('com.android.support:appcompat-v7:23.4.0') {
exclude module: 'support-v4'
}
compile ('com.android.support:design:23.4.0') {
exclude module: 'support-v4'
}
compile ('com.facebook.android:facebook-android-sdk:[4,5)') {
exclude module: 'support-v4'
}
compile ('com.lsjwzh:materialloadingprogressbar:0.5.8-RELEASE') {
exclude module: 'support-v4'
}
compile ('com.github.bumptech.glide:glide:3.7.0') {
exclude module: 'support-v4'
}
compile ('com.jakewharton:butterknife:7.0.1') {
exclude module: 'support-v4'
}
compile ('com.synnapps:carouselview:0.0.9') {
exclude module: 'support-v4'
}
compile ('com.miguelcatalan:materialsearchview:1.3.0') {
exclude module: 'support-v4'
}
compile ('com.github.techery:ProperRatingBar:ba6de13') {
exclude module: 'support-v4'
}
compile ('com.github.mukeshsolanki:country-picker-android:1.1.6') {
exclude module: 'support-v4'
}
compile ('com.clevertap.android:clevertap-android-sdk:3.1.0') {
exclude module: 'support-v4'
}
compile ('com.google.android.gms:play-services-gcm:9.0.2') {
exclude module: 'support-v4'
}
compile ('io.branch.sdk.android:library:2.+') {
exclude module: 'support-v4'
}
apply plugin: 'com.google.gms.google-services'
compile ('javax.annotation:jsr250-api:1.0') {
exclude module: 'support-v4'
}
testCompile 'junit:junit:4.12'