http://search.maven.org/錯誤:(44,13)無法解析:com.github.nukc.loadmorelayout:庫:0.1.0
我收到上述錯誤,同時從編譯器
導入庫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'
}
你檢查我的回答 –
是的,我檢查。我創建了一個新的倉庫並上傳庫添加了jcenter,現在可以編譯成功了。謝謝你的回答 – nukc
我有一個問題給你。 –