Cant add a custom calender package - android

when i add compile 'com.github.npanigrahy:Custom-Calendar-View:v1.0'
in my gradle.build
it gives an error : Error:(23, 13) Failed to resolve: com.github.npanigrahy:Custom-Calendar-View:v1.0
thank in advance

Use this in the build.gradle(Project:calender) file
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
And this in build.gradle(module:app)
dependencies {
compile 'com.github.npanigrahy:Custom-Calendar-View:v1.0'
}

First,you should check your android-studio settings,Do you set a http proxy?
Secondly,according the tutorial in https://github.com/npanigrahy/Custom-Calendar-View
Thirdly,Would you like download the dependency into your local matchine then dependent into your project??

Related

Failed to resolve: com.github.jblough:Android-Pdf-Viewer-Library:v1.0

I want to install the following library in my project.
https://android-arsenal.com/details/1/348#!package
I have added the jar file in build folder
I also added the dependencies which are mentioned there.
I also added :
enter code here
maven {
url "https://jitpack.io"
}
But I found this error:
Please! help me to resolve this issue.
You can add this library in your gradle file
compile 'com.github.barteksc:android-pdf-viewer:2.8.2'
here's the link of the library just try it
I just added code in build.gradle file
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Failed to resolve com.afollestad:easyvideoplayer:0.3.0

I am using https://github.com/afollestad/material-camera.
As i do add compile 'com.afollestad:material-camera:0.4.4'
I giving me error:
make sure to add those lines to your gradle file
repositories {
jcenter()
maven { url "https://dl.bintray.com/drummer-aidan/maven" }
}

Android Q-municate Error failed to resolve: com.efollestad:material-dialog:0.7.8.1

i down load code from https://quickblox.com/developers/Q-municate
after that i import to run and i have error like that:
Error:Failed to resolve: com.afollestad:material-dialogs:0.7.8.1
Open File
Show in Project Structure dialog
Please Help me, Thanks
Replace Your material Dialog dependency with this:
compile('com.afollestad.material-dialogs:core:0.8.1.0#aar') {
transitive = true
}
Make Sure at first you added below in build.gradle section
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
Then add
compile 'com.afollestad:material-dialogs:0.7.9.1'

Problems when trayin to add labrary to android studio

hi i am trying to add MPAndroidChart to my android studio i tried evrything from file>New >Import Module
and tried to copy it directly to my android studio
i put this in the
include':Libraries:MPChartLib'
and this in the dependency
dependencies {
compile 'com.github.PhilJay:MPAndroidChart:v2.2.5' }
but i always keep getting this error
please helppp
Read follow documentation github
Add the following to your build.gradle:
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile 'com.github.PhilJay:MPAndroidChart:v2.2.5'
}
add or merge this in your build.gradle script.
repositories {
maven { url "https://jitpack.io" }
}

Android Studio:failed to resolve:com.leaking.slideswitch:app:1.0.0

I am looking for help on the resolving issue with Android Gradle.
in the /app/build.gradle :
dependencies {
compile 'com.leaking.slideswitch:app:1.0.0'
}
allprojects {
repositories {
mavenLocal()
maven{
url 'http://xlab-tech.com:45682/nexus/content/groups/public/'
}
mavenCentral()
jcenter()
}
}
But messages Gradle Sync:
Error:(34, 13) Failed to resolve: com.leaking.slideswitch:app:1.0.0
com.leaking.slideswitch is not published in maven anymore, to be confirmed you can search there. What I can suggest is just create a new class called SlideSwitch.java and copy all codes from here. Then You can do your task as usual. Hope this may help.

Categories

Resources