Gradle错误无法解析com.github.Binary-Finery:Bungee:master-SNAPSHOT

时间:2019-01-20 09:10:41

标签: android gradle

**

每次都有一个问题:无法解决。

请帮助您了解此问题。预先谢谢你。

> 
Error:(34, 13) Failed to resolve: com.github.Binary-Finery:Bungee:master-SNAPSHOT Show in File
Show in Project Structure dialog

构建Graldle应用程序(已更新):

apply plugin: 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion '26.0.0'

defaultConfig {
    applicationId "com.mkurbanov.lebap_kwartira"
    minSdkVersion 15
    targetSdkVersion 26
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
compile 'com.android.support:design:26.0.0-alpha1'
compile 'com.android.support:support-v4:26.0.0-alpha1'
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.android.support:cardview-v7:26.0.0-alpha1'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.slider:library:1.1.5@aar'
compile 'com.balysv:material-ripple:1.0.2'
compile 'com.daimajia.easing:library:2.0@aar'
compile 'com.daimajia.androidanimations:library:2.3@aar'
compile 'com.github.esafirm.android-image-picker:imagepicker:1.13.1'
// for experimental rx picker
compile 'com.github.esafirm.android-image-picker:rximagepicker:1.13.1'
// If you have a problem with Glide, please use the same Glide version or simply open an issue
compile 'com.github.bumptech.glide:glide:4.5.0'
compile 'com.github.Binary-Finery:Bungee:master-SNAPSHOT'
}

root Gradle:

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

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0'

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

allprojects {
    repositories {
        jcenter()
        maven { url 'https://maven.google.com' }
        maven { url 'https://jitpack.io' }
    }
}

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

//某些单词//某些单词//某些单词//某些单词//某些单词//某些单词 //某些单词//某些单词//某些单词//某些单词//某些单词//某些单词

3 个答案:

答案 0 :(得分:2)

尝试在gradle.build中使用:

implementation 'com.github.Binary-Finery:Bungee: master'

对我有用。

答案 1 :(得分:0)

我认为您尚未将此文件添加到其他build.gradle文件中

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

如果您已添加,请同时发布该版本.gradle

答案 2 :(得分:0)

我删除了版本号,这对我有所帮助。因此,代替:

implementation 'com.github.dev:Picker:2.4.6:video-activity-fix-SNAPSHOT'

我用过:

implementation 'com.github.dev:Picker:video-activity-fix-SNAPSHOT'

不要忘记运行./gradlew build --refresh-dependencies