CircleProgress icon indicating copy to clipboard operation
CircleProgress copied to clipboard

Gradle build error

Open nagaraj-nk opened this issue 8 years ago • 14 comments

I'm getting Gradle build error,

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

nagaraj-nk avatar Nov 12 '16 15:11 nagaraj-nk

same error

xellDart avatar Nov 13 '16 03:11 xellDart

same here

youssefmanouare avatar Nov 14 '16 11:11 youssefmanouare

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

albertoha94 avatar Nov 14 '16 16:11 albertoha94

@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

youssefmanouare avatar Nov 14 '16 16:11 youssefmanouare

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

albertoha94 avatar Nov 14 '16 16:11 albertoha94

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

youssefmanouare avatar Nov 14 '16 16:11 youssefmanouare

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

albertoha94 avatar Nov 14 '16 17:11 albertoha94

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

youssefmanouare avatar Nov 14 '16 17:11 youssefmanouare

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

albertoha94 avatar Nov 14 '16 17:11 albertoha94

@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

youssefmanouare avatar Nov 14 '16 17:11 youssefmanouare

Oh I see. That's another solution then.

albertoha94 avatar Nov 14 '16 17:11 albertoha94

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

youssefmanouare avatar Nov 14 '16 17:11 youssefmanouare

Solution

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

odyodyodys avatar Jan 16 '17 22:01 odyodyodys

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

AndrewParkhomov avatar Feb 15 '17 13:02 AndrewParkhomov