konifar / fab-transformation

Support Floating Action Button transformation for Android
MIT License
768 stars 118 forks source link

Failed to resolve: com.nineoldandroids:library:2.4.0+ #9

Closed sudarshaana closed 8 years ago

sudarshaana commented 8 years ago

I am using compile 'konifar:fab-transformation:1.0.0' But suddenly it is showing "Failed to resolve: com.nineoldandroids:library:2.4.0+"

As konifar:fab-transformation:1.0.0 is using "com.nineoldandroids:library:2.4.0+" ; what to do now?

waj0 commented 8 years ago

Changing '2.4.0+' to '2.4.0' in build.gradle:84 will help. You can build library with this change by yourself and add to your app, if you can't wait for official release. I just did it myself :-)

source

sudarshaana commented 8 years ago

I didn't use "com.nineoldandroids:library:2.4.0+". So where to change '2.4.0+' to '2.4.0'?

iballan commented 8 years ago

@sudarshaana he is talking about the library's dependencies. you have to download the library code and recompile it yourself

iballan commented 8 years ago

BTW, I got the same problem after i upgraded my Android Studio

iballan commented 8 years ago

@konifar I got the solution: Excluding nineoldandroids from the project, and add it to your project like this

compile 'com.nineoldandroids:library:2.4.0'
compile ('konifar:fab-transformation:1.0.0') {
        exclude group: 'com.nineoldandroids', module: 'library'
}

worked for me

sudarshaana commented 8 years ago

@iballan Thanks. Thats also works for me.

rsv355 commented 8 years ago

Thank's alot buddy.... Works for me as well

iballan commented 8 years ago

you are all welcome :)