uknownothingsnow / CircleProgress

CircleProgress, DonutProgress, ArcProgress
3.81k stars 921 forks source link

Gradle build error #74

Open nagaraj-nk opened 7 years ago

nagaraj-nk commented 7 years ago

I'm getting Gradle build error,

Failed to resolve: compile 'com.github.lzyzsd:circleprogress:1.1.2'

xellDart commented 7 years ago

same error

youssefmanouare commented 7 years ago

same here

albertoha94 commented 7 years ago

Seems like the lib is dead as there's no way to use it with gradle.

youssefmanouare commented 7 years ago

@albertoha94 try to integrate classes and attr in your project by coping them or integrate the librairie as a module , all this instead of using gradle . it's working for me

albertoha94 commented 7 years ago

I wanted to update my answer. Try this instead: compile 'com.github.lzyzsd:circleprogress:+' Worked for me.

youssefmanouare commented 7 years ago

@albertoha94 yes it's working , i tried it but donut_inner_drawable ,donut_show_text will not work

albertoha94 commented 7 years ago

@youssefmanouare Did you added the styleables in a resource file?

youssefmanouare commented 7 years ago

@albertoha94 yes add them to your attrs.xml ressouce file

albertoha94 commented 7 years ago

Sorry but i don't know what could be the problem. I'm using circle progress only and it seems good so far.

youssefmanouare commented 7 years ago

@albertoha94 yes it's worrking with the gradle that you gave below but the attruibutes donut_inner_drawable ,donut_show_text will not work , so i integrate all classes in my project and it's working fine without gradle

albertoha94 commented 7 years ago

Oh I see. That's another solution then.

youssefmanouare commented 7 years ago

@albertoha94 yes , an other one is add the librarie as a module of your project , it's will work fine also.

odyodyodys commented 7 years ago

Solution

use compile 'com.github.lzyzsd:circleprogress:v1.1.1' see #76 for more

AndrewParkhomov commented 7 years ago

repositories { jcenter() mavenCentral() maven { url "https://jitpack.io" } } work for me