JakeWharton/ViewPagerIndicator

Android Studio integration issue (Gradle 2.2.3)

Opened this issue · 3 comments

Trying to add library to my project I received the next error message:

Warning:Packaging for dependency com.viewpagerindicator:library:2.4.1 is 'apklib' and is not supported. Only 'aar' libraries are supported.

It seams, that published library is not supported by Android Studio.

@azizimusa I think it has an issue, as it has jar files of the support library v4, which can collide with your own (that is newer version).
But I also wonder how such a thing works for other libraries, even if they use gradle for this.

msdx commented

@AndroidDeveloperLB Hi, I think you can use Artifact only notation by use @sign to close transitive, like
compile 'xxx:xxx:xxx@aar'