2015-10-16 53 views
0

http://search.maven.org/錯誤:(44,13)無法解析:com.github.nukc.loadmorelayout:庫:0.1.0

image

我收到上述錯誤,同時從編譯器

導入庫
com.github.nukc.loadmorelayout:library:0.1.0 
Error:(44, 13) Failed to resolve: com.github.nukc.loadmorelayout:library:0.1.0 

我的build.gradle:

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' 
} 
+0

你檢查我的回答 –

+1

是的,我檢查。我創建了一個新的倉庫並上傳庫添加了jcenter,現在可以編譯成功了。謝謝你的回答 – nukc

+0

我有一個問題給你。 –

回答

1

您可以使用此inste你的廣告。

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

對不起。 'com.nukc.loadmorelayout:library:0.1'是錯誤的。因爲圖書館是我的,我自己的錯誤。但我不知道哪裏出了問題。 – nukc

+0

錯誤的意思是?你解決了這個問題嗎? –