程序类型已经存在:android.support.v4.app.BackStackState $ 1继续出现此错误:

时间:2018-11-13 03:10:05

标签: android version android-support-library

出现错误:

  

“程序类型已存在:android.support.v4.app.BackStackState $ 1”

我已经尝试了这里几乎所有的解决方案,但似乎没有任何效果。

build.gradle

apply plugin: 'com.android.application'


android {
compileSdkVersion 28
defaultConfig {
    applicationId "com.example.sebastian.yumscollection"
    minSdkVersion 15
    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(dir: 'libs', include: ['*.jar'])

这是问题所在,也无法使用customtabs

implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:customtabs:28.0.0'

implementation 'com.android.support.constraint:constraint-layout:1.1.3'
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.google.firebase:firebase-core:10.0.0'
implementation  'com.google.firebase:firebase-database:10.0.0'
implementation 'info.hoang8f:fbutton:1.0.5'
implementation 'com.rengwuxian.materialedittext:library:2.1.4'

}
apply plugin: 'com.google.gms.google-services'

0 个答案:

没有答案