Open lekeope opened 7 years ago
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
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?
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
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.
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?
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.
@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
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.
Please see pull request #74 (sorry for bad Groovy code, please help!)
Nevermind, I didn't really understand the Gradle system (I though this is a sub-project)
@Edge-Developer , i have the same issue here, how to fix this. importing the latest version of card-view does not fix the issue
go to \MyApp.idea\libraries directory to which library/libraries is/are out of line.
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