gpt4 book ai didi

android - Android Studio:错误:(58,13)无法解决:com.mikepenz:materialdrawer:4.3.5

转载 作者:行者123 更新时间:2023-12-03 06:31:35 26 4
gpt4 key购买 nike

我正在尝试添加此Library

但是当同步Android Studio项目时出现以下错误..
错误:(58,13)无法解决:com.mikepenz:materialdrawer:4.3.5

我为此感到震惊,请帮助我...

Build.gradle:

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {

minSdkVersion 15
targetSdkVersion 22
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}

repositories {
maven {
url "https://jitpack.io"

}
maven { url 'https://dl.bintray.com/kennyc1012/maven' }

}

repositories{
flatDir{
dirs 'libs'
}
}


dependencies {
compile files('libs/YouTubeAndroidPlayerApi.jar')
compile files('libs/android-support-v7-recyclerview.jar')
compile files('libs/jsoup-1.7.3.jar')
compile files('libs/universal-image-loader-1.9.2.jar')
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.google.android.gms:play-services:7.8.0'
compile 'com.github.JayFang1993:DropDownMenu:96d390f9c4'
compile 'com.oguzdev:CircularFloatingActionMenu:1.0.2'
compile 'com.github.mrengineer13:snackbar:1.2.0'
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
compile 'com.android.support:design:22.2.1'

}

dependencies {

compile('com.mikepenz:materialdrawer:4.3.5@aar') {
transitive = true
}

}

最佳答案

我的猜测是该依赖关系在Maven Central上可用。尝试将中央Maven存储库添加到您的存储库,然后再次重新同步。

repositories {
maven {
url "https://jitpack.io"
}
maven { url 'https://dl.bintray.com/kennyc1012/maven' }
mavenCentral()
}

关于android - Android Studio:错误:(58,13)无法解决:com.mikepenz:materialdrawer:4.3.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33121304/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com