程序类型已存在:android.support.v4.app.BackStackState
我得到了错误:
程序类型已存在:android.support.v4.app.BackStackState
在运行应用程序时。我尝试从某些第三方实现中排除android.support.v4
库,但没有用。
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.media3.calculator"
minSdkVersion 26
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:design:28.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
implementation 'com.roughike:bottom-bar:2.3.1'
implementation 'com.xlythe:math-library:1.0.2'
implementation 'com.xlythe:floating-view:1.2.2'
implementation files('libs/nineoldandroids-2.4.0.jar')
implementation files('libs/jscience-4.3.jar')
implementation ('com.anjlab.android.iab.v3:library:1.0.44'){
exclude group: 'com.android.support'
exclude module: 'appcompat-v7'
exclude module: 'support-v4'
}
implementation 'com.google.android.gms:play-services:7.8.0'
implementation 'joda-time:joda-time:2.10.1'
implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:2.1.2'
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
implementation 'com.github.bumptech.glide:glide:4.8.0'
}