Comments (12)
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.
from fab-speed-dial.
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
from fab-speed-dial.
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?
from fab-speed-dial.
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
from fab-speed-dial.
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.
from fab-speed-dial.
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?
from fab-speed-dial.
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.
from fab-speed-dial.
@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
from fab-speed-dial.
Please see pull request #74 (sorry for bad Groovy code, please help!)
from fab-speed-dial.
Nevermind, I didn't really understand the Gradle system (I though this is a sub-project)
from fab-speed-dial.
@edge-developer , i have the same issue here, how to fix this. importing the latest version of card-view does not fix the issue
from fab-speed-dial.
go to \MyApp.idea\libraries directory to which library/libraries is/are out of line.
from fab-speed-dial.
Related Issues (20)
- Error out of the box with ConstraintLayout
- Text Size
- How to adjust the size of the text
- Couldn't resolve resource @id/default_state
- Movement with Snackbar
- How to change orientation of expanding menu ? HOT 3
- Issue when setting a vector drawable as the fab icon
- Runtime Exception HOT 1
- Cannot Center a FAB Menu
- Unable to set main fab Image dynamically
- update androidstudio3.0 cant used HOT 2
- Why is there no miniFabTitleBackgroundTintList
- Not open directly in onCreate function with out click
- InflateException HOT 1
- Colored miniFabIcon HOT 1
- Why does FabSpeedDial.MenuListener#onPrepareMenu() passes a NavigationMenu?
- Change fabBackgroundTint programmatically
- touchGuardDrawable doesn't work in fragment
- Kotlin implementation HOT 1
- using fabspeeddial with viewpager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fab-speed-dial.