Android зависимость 'me.zhanghai. android .materialprogressbar: library' имеет разные версии для пути к классам compile (1.4.1) и runtime (1.4.2) - PullRequest
0 голосов
/ 08 апреля 2020

Когда я запускаю свой проект, я выдаю ошибку.

Ошибка:

Android зависимость 'me.zhanghai. android .materialprogressbar: library' имеет разные версии для пути к классам компиляции (1.4.1) и среды выполнения (1.4.2) , Вы должны вручную установить ту же версию через DependencyResolution

Вот мой файл gradle:


    apply plugin: 'com.android.application'
    android {
        compileSdkVersion 28
        buildToolsVersion "29.0.3"
        defaultConfig {
            applicationId "com.app"
            minSdkVersion 21
            targetSdkVersion 28
            versionCode 15
            versionName "7.8"
            testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
            multiDexEnabled true
            ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
        }
        dexOptions{
            javaMaxHeapSize "4g"
        }
        buildTypes {
            release {
                minifyEnabled true
                shrinkResources true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
            debug{
                minifyEnabled true
                shrinkResources true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
        configurations.all {
            exclude group: 'com.android.support', module: 'support-v13'
            exclude group: 'org.jetbrains', module: 'annotations'
        }

        sourceSets {
            main {
                assets.srcDirs = ['src/main/assets', 'src/main/assets/']

                jni.srcDirs = []
                jniLibs.srcDir 'src/main/jniLibs'
            }
        }
        lintOptions {
            checkReleaseBuilds false

            abortOnError false
        }
        useLibrary 'org.apache.http.legacy'
    }
    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.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.android.support:support-v4:28.0.0'
        implementation 'com.arthenica:mobile-ffmpeg-full:4.3.1'
        implementation 'com.android.support:multidex:1.0.3'
        implementation 'com.github.MasayukiSuda:ImageToVideoAndroid:v0.1.0'
        implementation "com.splitwise:tokenautocomplete:3.0.1@aar"
        implementation 'ja.burhanrashid52:photoeditor:0.4.0'
        implementation 'com.google.firebase:firebase-auth:16.0.2'
        implementation 'com.google.firebase:firebase-database:16.0.1'
        implementation 'com.google.firebase:firebase-core:16.0.4'
        implementation 'com.google.android.gms:play-services-auth:16.0.1'
        implementation 'org.florescu.android.rangeseekbar:rangeseekbar-library:0.3.0'
        implementation 'com.dinuscxj:circleprogressbar:1.3.0'
        implementation 'commons-io:commons-io:2.5'
        implementation 'com.android.support:cardview-v7:28.0.0'
        implementation 'com.google.firebase:firebase-storage:17.0.0'
        implementation 'com.rengwuxian.materialedittext:library:2.1.4'
        implementation 'android.arch.lifecycle:extensions:1.1.1'
        implementation 'com.intuit.sdp:sdp-android:1.0.6'
        implementation 'de.hdodenhof:circleimageview:2.2.0'
        implementation 'com.firebaseui:firebase-ui:5.0.0'
        implementation 'com.firebaseui:firebase-ui-auth:5.0.0'
        implementation 'ch.qos.logback:logback-classic:1.2.3'
        implementation 'ch.qos.logback:logback-core:1.2.3'
        implementation 'org.apache.mina:mina-core:2.1.3'
        implementation 'org.slf4j:slf4j-api:1.7.28'
        implementation 'com.afollestad.material-dialogs:core:0.9.4.5'
        implementation project(path: ':sticker')
        implementation 'com.google.android.gms:play-services-ads:17.1.1'
        implementation 'com.xw.repo:bubbleseekbar:3.16'
        implementation 'com.squareup.retrofit2:retrofit:2.3.0'
        implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
        implementation 'com.google.firebase:firebase-messaging:17.3.3'
        implementation 'com.squareup.picasso:picasso:2.5.2'
        implementation 'com.stepstone.apprating:app-rating:2.3.0'
        implementation 'com.cepheuen.elegant-number-button:lib:1.0.2'
        implementation 'com.facebook.android:facebook-android-sdk:[5,6)'
        implementation 'com.google.android.ads.consent:consent-library:1.0.7'
        api 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
        implementation 'com.github.shts:StoriesProgressView:3.0.0'
        implementation 'com.github.pwittchen:swipe-rx2:0.3.0'
        implementation 'com.daimajia.slider:library:1.1.5@aar'
        implementation 'com.github.yangjie10930:EpMedia:v0.9.5'
        implementation 'org.jetbrains:annotations-java5:15.0'
        implementation 'com.github.Jay-Goo:RangeSeekBar:v2.0.4'
        implementation 'android.arch.lifecycle:extensions:1.1.1'
        implementation 'com.xw.repo:bubbleseekbar:3.16'
        implementation 'com.afollestad:drag-select-recyclerview:0.3.6'
        implementation('com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.11.0@aar') {
            transitive = true
        }
        implementation 'com.makeramen:roundedimageview:2.3.0'
        implementation 'commons-io:commons-io:2.6'
        implementation 'com.squareup.picasso:picasso:2.71828'
        implementation "com.github.chrisbanes:PhotoView:2.0.0"
        implementation project(path: ':sticker')
        implementation 'com.google.android.exoplayer:exoplayer:2.8.4'
        implementation 'jp.wasabeef:blurry:2.1.1'
        implementation 'com.xw.repo:bubbleseekbar:3.16'
        implementation 'com.balysv:material-ripple:1.0.2'
        implementation 'com.github.bumptech.glide:glide:3.7.0'
        implementation 'com.jakewharton:butterknife:8.5.1'
        annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
        implementation project(':rangeseekbar')
        implementation project(':videocompressor')
        implementation 'com.eightbitlab:blurview:1.6.2'
        implementation 'com.google.android.ads.consent:consent-library:1.0.7'
        implementation 'android.arch.persistence.room:runtime:1.1.1'
        annotationProcessor 'android.arch.persistence.room:compiler:1.1.1'
    }
    apply plugin: 'com.google.gms.google-services'
    com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true

...