错误:(44,13)无法解决:com.github.nukc.loadmorelayout:library:0.1.0

时间:2015-10-16 09:18:23

标签: android maven

http://search.maven.org/

image

从编译器

导入库时出现上述错误
apply plugin: 'com.android.application'`

android {

    compileSdkVersion 23
    buildToolsVersion "23.0.1"
    useLibrary 'org.apache.http.legacy'

    defaultConfig {
        applicationId "com.demo.android"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 3
        versionName "2.1"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {

    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:support-v4:23.0.1'
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:design:23.0.1'
    compile 'com.android.support:support-annotations:23.0.1'
    compile 'com.android.support:recyclerview-v7:23.0.1'
    compile 'com.jakewharton:butterknife:7.0.1'

    compile 'com.google.code.gson:gson:2.3.1'
    compile 'com.mcxiaoke.volley:library:1.0.19'
    compile 'com.squareup.okhttp:okhttp:2.5.0'

    repositories {
        mavenCentral()
    }
    compile 'com.sothree.slidinguppanel:library:3.1.1'
    compile 'de.hdodenhof:circleimageview:2.0.0'

    compile 'com.github.bumptech.glide:glide:3.6.1'
    compile 'de.greenrobot:eventbus:2.4.0'

    compile 'com.github.nukc.loadmorelayout:library:0.1.0'
}

我的build.gradle:

{{1}}

1 个答案:

答案 0 :(得分:1)

您可以使用此代替您的。

compile 'com.nukc.loadmorelayout:library:0.1'