Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i change the design support Library?? #64

Open
lekeope opened this issue Apr 21, 2017 · 12 comments
Open

How can i change the design support Library?? #64

lekeope opened this issue Apr 21, 2017 · 12 comments

Comments

@lekeope
Copy link

lekeope commented Apr 21, 2017

Am Currently using support library 25.3.1 in my app how can i change the support library of this LIBRARY to match the one in my App??

@yavski

@lekeope
Copy link
Author

lekeope commented Apr 21, 2017

How can i change this:
https://github.com/yavski/fab-speed-dial/blob/master/library/build.gradle

to the current version of Support Libraries??

@paour @yavski @alanjcaceres @i906 @dstd Please help

@paour
Copy link
Contributor

paour commented Apr 22, 2017

You don't have to, Gradle will use the highest version of all dependencies. Are you saying there is a conflict or bug with this lib when used with the latest Support lib?

@lekeope
Copy link
Author

lekeope commented Apr 23, 2017

Yes;

This mesaage:

All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 25.3.1, 23.3.0. Examples include com.android.support:animated-vector-drawable:25.3.1 and com.android.support:cardview-v7:23.3.0

and the App takes about 5 secs before loading

@paour
Copy link
Contributor

paour commented Apr 23, 2017

I doubt this would cause a 5s startup delay, which you can diagnose with a variety of tools.

To avoid the warning, you can use Gradle androidDependencies to indentify where they're being pulled from, and include the latest version in your app's build.gradle if you think that's useful.

@lekeope
Copy link
Author

lekeope commented Apr 28, 2017

Thanks, for the info but i still don't understand why this message:

All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 25.3.1, 23.3.0. Examples include com.android.support:animated-vector-drawable:25.3.1 and com.android.support:cardview-v7:23.3.0

is showing on my gradle page.

Should just ignore?

@ghost
Copy link

ghost commented May 9, 2017

I have the same problem. I think it should not be ignored. I'm using vector icons in the menu items and If I run my app in a pre-Lollipop device, the item icons are not showing, only the floating action buttons.
screenshot

@lekeope
Copy link
Author

lekeope commented May 18, 2017

@paour @chacongalvez

I finally found a Fix.

The Library uses card_view library version 23.3.0

If you wanna see for yourself goto \MyApp\.idea\libraries directory and you'll see the specific library that is out of line.

FIX: note the inappropriate library (in this case Card View), goto android studio and import the correct version instead (25.3.1 is latest).

Thanks

@mradzinski
Copy link

mradzinski commented Aug 14, 2017

How about adding this into your build.gradle of your app:

configurations.all {
    resolutionStrategy {
        force 'com.android.support:design:26.0.1'
    }
}

I mean, that pretty much works for any library you want to force into any build as long as the library doesn't involve breaking changes.

@penn5
Copy link

penn5 commented Aug 18, 2017

Please see pull request #74 (sorry for bad Groovy code, please help!)

@penn5
Copy link

penn5 commented Aug 27, 2017

Nevermind, I didn't really understand the Gradle system (I though this is a sub-project)

@morlombakop
Copy link

@edge-developer , i have the same issue here, how to fix this. importing the latest version of card-view does not fix the issue

@lekeope
Copy link
Author

lekeope commented Mar 5, 2018

go to \MyApp.idea\libraries directory to which library/libraries is/are out of line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants