can't inclue the lib in my gradle project
Opened this issue · 2 comments
Goobb commented
Hi,
I've included the lib as a whole project but i'd rather include it with a maven dependency.
I tried to add in my build.gradle:
compile 'com.viewpagerindicator:library:2.4.1'
But even if the sync ends correctly, when I execute my project, I've got an error saying the class "CirclePageIndicator" doesn't exist...
also tried
compile 'com.viewpagerindicator:library:2.4.1@aar' but the sync doesn't even pass...
Could you please tell e the good way to include the lib in my gradle project?
danielesegato commented
see #254
filipebezerra commented
You can solve this as follows:
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies {
compile ('com.github.JakeWharton:ViewPagerIndicator:2.4.1') {
exclude module: 'support-v4'
}
}