Coder Social home page Coder Social logo

Comments (12)

mradzinski avatar mradzinski commented on September 20, 2024 1

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.

lekeope avatar lekeope commented on September 20, 2024

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.

paour avatar paour commented on September 20, 2024

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.

lekeope avatar lekeope commented on September 20, 2024

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.

paour avatar paour commented on September 20, 2024

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.

lekeope avatar lekeope commented on September 20, 2024

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.

 avatar commented on September 20, 2024

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

from fab-speed-dial.

lekeope avatar lekeope commented on September 20, 2024

@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.

penn5 avatar penn5 commented on September 20, 2024

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

from fab-speed-dial.

penn5 avatar penn5 commented on September 20, 2024

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

from fab-speed-dial.

morlombakop avatar morlombakop commented on September 20, 2024

@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.

lekeope avatar lekeope commented on September 20, 2024

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

from fab-speed-dial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.