[ANDROID] librairie MaterialDrawer
Bonjour a tous,
je souhaite intégrer la librairie de mikePenz qui est MaterialDrawer dans mon application mais j'y arrive pas
quand je copie cette ligne dans le build.gradle:
Code:
1 2 3 4
|
compile('com.mikepenz:materialdrawer:4.2.5@aar') {
transitive = true
} |
J'ai une belle erreur dans mon logcat:
Error:Failed to resolve: com.android.support:recyclerview-v7:23.0.1
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
Error:Failed to resolve: com.android.support:support-annotations:23.0.1
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
Error:Failed to resolve: com.android.support:support-v4:23.0.1
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
Error:Failed to resolve: com.android.support:appcompat-v7:23.0.1
<a href="install.m2.repo">Install Repository and sync project</a><br><a href="openFile">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
build.gradle:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
applicationId "com.moudjames23.materialdesign"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.android.support:design:23.0.0'
compile 'com.android.support:recyclerview-v7:23.0.0'
compile 'com.android.support:cardview-v7:23.0.0'
compile 'com.melnykov:floatingactionbutton:1.3.0'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.easing:library:1.0.1@aar'
compile 'com.daimajia.androidanimations:library:1.1.3@aar'
compile('com.mikepenz:materialdrawer:4.2.5@aar') {
transitive = true
}
} |
Vous pouvez retrouver cette librairie ICI
Merci d'avance pour vos reponses
Cordialement