在模块classes.jar中找到重复的类android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat

时间:2019-06-14 11:54:29

标签: java android github

当我尝试在我的项目中实现该库时,我在我的项目中使用了结婚tts库,它给了我这个错误,我没有什么问题,这里有谁可以帮助我,我是新手,请帮助

  

重复的班级   android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat   在模块classes.jar中找到   (com.android.support:support-compat:28.0.0)和classes.jar   (com.android.support:support-v4:23.4.0)               在模块中找到重复的类android.support.v4.app.ActionBarDrawerToggle   classes.jar(com.android.support:support-core-ui:28.0.0)和   classes.jar(com.android.support:support-v4:23.4.0)

我的图书馆课

apply plugin: 'com.android.application'

        android {
            compileSdkVersion 28
            defaultConfig {
                applicationId "com.example.myapplication"
                minSdkVersion 21
                targetSdkVersion 28
                versionCode 1
                versionName "1.0"
                testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
            }
            buildTypes {
                release {
                    minifyEnabled false
                    proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
                }
            }
        }

        dependencies {
            implementation fileTree(dir: 'libs', include: ['*.jar'])
            implementation 'com.android.support:appcompat-v7:28.0.0'
            implementation 'com.android.support.constraint:constraint-layout:1.1.3'
            implementation 'com.marytts.android:marylib:1.0.1'
            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'
        }

0 个答案:

没有答案