有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java I在生成同步“无法解析配置的所有依赖项”时遇到此错误:app:debugRuntimeClasspath

我已经做了所有可能的解决办法。但还是会出错

This is my Code Below

请检查一下,我没有发现任何关于我问题的问题 错误是 无法解析配置“:app:debugRuntimeClasspath”的所有依赖项。 无法确定com的工件。谷歌。安卓gms:play services auth api phone:17.1.0:脱机模式下没有可用的缓存版本

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.安卓.tools.build:gradle:7.0.3'
        classpath 'com.google.gms:google-services:4.3.10'
        classpath 'com.github.dcendents:安卓-maven-gradle-plugin:1.5'



        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven {
            url "https://jitpack.io"
            credentials { username authToken }
        }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}



appgraddle


buildscript {
    repositories {
        maven { url 'https://plugins.gradle.org/m2/' }
    }
    dependencies {
        classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:0.13.4'
    }
}
apply plugin: 'com.onesignal.安卓sdk.onesignal-gradle-plugin'


repositories {
    maven { url 'https://maven.google.com' }
}

apply plugin: 'com.安卓.application'


安卓 {
    compileSdkVersion 31
    buildToolsVersion '30.0.3'

    defaultConfig {
        vectorDrawables {
            useSupportLibrary = true
        }
        vectorDrawables.useSupportLibrary = true

        applicationId "com.rcloud.netflix"

        manifestPlaceholders = [onesignal_app_id: "cd6a92d4-12c9-4692-bc90-3397c652e739",
                                onesignal_google_project_number: "REMOTE"]

        minSdkVersion 19
        targetSdkVersion 31
        versionCode 1
        versionName "0.1"
        multiDexEnabled true
        testInstrumentationRunner "安卓x.test.runner.AndroidJUnitRunner"

    }
    repositories {
        mavenCentral()
        maven { url "https://s3-ap-southeast-1.amazonaws.com/godel-release/godel/" }
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-安卓.txt'), 'proguard-rules.pro'
            buildConfigField 'String', "PURCHASE_CODE", PURCHASE_CODE
        }
        debug {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-安卓.txt'), 'proguard-rules.pro'
            buildConfigField 'String', "PURCHASE_CODE", PURCHASE_CODE
        }
    }
    dataBinding {
        enabled = true
    }
    buildTypes.each {
        it.buildConfigField 'String', 'server_url', server_url
    }
    compileOptions {
        targetCompatibility JavaVersion.VERSION_1_8
        sourceCompatibility = 1.8
    }
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation '安卓x.appcompat:appcompat:1.3.1'

    implementation 'com.github.rajan6533:Netflixlibjar:1.8'
    implementation 'ai.devsupport.instamojo:instamojolib:0.1.6'

    implementation 'com.pierfrancescosoffritti.安卓youtubeplayer:core:8.0.1'

    implementation '安卓x.browser:browser:1.4.0'
    implementation '安卓x.exifinterface:exifinterface:1.3.3'
    implementation '安卓x.media:media:1.4.3'
    implementation '安卓x.recyclerview:recyclerview:1.2.1'
    implementation '安卓x.cardview:cardview:1.0.0'
    implementation 'com.google.安卓.material:material:1.4.0'

    implementation 'de.hdodenhof:circleimageview:3.1.0'

    implementation '安卓x.constraintlayout:constraintlayout:2.1.1'
    implementation '安卓x.vectordrawable:vectordrawable:1.1.0'
//    implementation '安卓x.legacy:legacy-support-v4:1.0.0'

    implementation 'com.github.bumptech.glide:glide:4.12.0'
    implementation 'com.google.安卓.gms:play-services-ads:20.4.0'
    implementation 'com.google.安卓.gms:play-services-gcm:17.0.0'
    implementation('com.onesignal:OneSignal:3.16.1') {
        exclude group: 'com.google.安卓.gms'
    }
    implementation 'com.google.安卓.gms:play-services-analytics:17.0.1'
    implementation 'com.google.安卓.gms:play-services-auth:19.2.0'
    implementation 'com.onesignal:OneSignal:3.16.1'
    implementation 'me.relex:circleindicator:1.2.2@aar'
    implementation 'com.github.siyamed:安卓-shape-imageview:0.9.3@aar'
    implementation 'com.google.安卓.ads.consent:consent-library:1.0.8'
    implementation project(':library')
    implementation 'com.mobsandgeeks:安卓-saripaar:2.0.2'
    implementation files('libs/YouTubeAndroidPlayerApi.jar')
    implementation project(':bettervideoplayer')



    implementation('com.paytm:pgplussdk:1.3.3') {
        transitive = true
    }

    implementation 'com.braintreepayments.api:braintree:2.22.0'
    implementation 'com.braintreepayments.api:drop-in:'

    implementation 'com.mani:ThinDownloadManager:1.4.0'
    implementation 'com.github.lzyzsd:circleprogress:1.2.1'

//    implementation 'com.google.安卓.exoplayer:exoplayer:r2.5.2'
    implementation 'com.leo.simplearcloader:simplearcloader:'

    implementation 'com.gauravk.bubblenavigation:bubblenavigation:1.0.7'

    implementation 'com.github.joielechong:countrycodepicker:2.3.3'

    // Required Dependency by Audience Network SDK
    implementation 'com.facebook.安卓:audience-network-sdk:6.3.0'

    implementation 'com.razorpay:checkout:1.6.5'

    //new
    implementation 'com.squareup.picasso:picasso:2.71828'

    implementation '安卓x.mediarouter:mediarouter:1.2.5'
    implementation '安卓x.legacy:legacy-support-v4:1.0.0'
    implementation 'com.google.安卓.exoplayer:exoplayer:2.16.0'
    implementation 'com.google.安卓.exoplayer:exoplayer-dash:2.16.0'
    implementation 'com.google.安卓.exoplayer:exoplayer-ui:2.16.0'

    implementation 'com.google.安卓.gms:play-services-cast:20.0.0'
    implementation 'com.google.安卓.gms:play-services-cast-framework:20.0.0'


    implementation 'org.greenrobot:eventbus:3.2.0'

    implementation "org.alfonz:alfonz-utility:0.9.1"
    implementation "org.alfonz:alfonz-view:0.9.1"

//    //Paykun
//    implementation 'com.paykun.sdk:paykun-checkout-lib:1.1.13'
//
//    //Traknpay
//    implementation project(':PGSDKVR4')


    安卓TestImplementation '安卓x.test.ext:junit:1.1.3'
    安卓TestImplementation '安卓x.test.espresso:espresso-core:3.4.0'
    testImplementation 'junit:junit:4.13.2'

}

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


please help me to get out for this error

共 (0) 个答案