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

NoDefClassFound AnimatorCompatHelper #12

Open
CeccoCQ opened this issue Oct 13, 2017 · 2 comments · May be fixed by #28
Open

NoDefClassFound AnimatorCompatHelper #12

CeccoCQ opened this issue Oct 13, 2017 · 2 comments · May be fixed by #28

Comments

@CeccoCQ
Copy link

CeccoCQ commented Oct 13, 2017

I'm with recyclerview-v7:26.1.0.

java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/animation/AnimatorCompatHelper;
                                                                                   at com.yalantis.filter.animator.FiltersListItemAnimator.resetAnimation(FiltersListItemAnimator.kt:427)
                                                                                   at com.yalantis.filter.animator.FiltersListItemAnimator.animateRemove(FiltersListItemAnimator.kt:136)
                                                                                   at android.support.v7.widget.SimpleItemAnimator.animateDisappearance(SimpleItemAnimator.java:109)
                                                                                   at android.support.v7.widget.RecyclerView.animateDisappearance(RecyclerView.java:3931)
                                                                                   at android.support.v7.widget.RecyclerView$4.processDisappeared(RecyclerView.java:523)
                                                                                   at android.support.v7.widget.ViewInfoStore.process(ViewInfoStore.java:242)
                                                                                   at android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3763)
                                                                                   at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3421)
                                                                                   at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3962)
                                                                                   at android.view.View.layout(View.java:19586)
                                                                                   at android.view.ViewGroup.layout(ViewGroup.java:6053)
                                                                                   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
                                                                                   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
                                                                                   at android.view.View.layout(View.java:19586)
                                                                                   at android.view.ViewGroup.layout(ViewGroup.java:6053)
@GauvainSeigneur
Copy link

Hi, I have the same issue, is due to Android version. Google has moved Android Support repo and some bug have come with it...

A hotfix is to add this in your grade :

configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        def requested = details.requested
        if (requested.group == 'com.android.support') {
            if (!requested.name.startsWith("multidex")) {
                details.useVersion '25.3.0'
            }
        }
    }
}

@CeccoCQ
Copy link
Author

CeccoCQ commented Feb 1, 2018

Hi @GauvainSeigneur ,
thanks for your response.

Did you find a solution that avoid the set of 25.3.0 version?

@dmytro1morozov dmytro1morozov linked a pull request Sep 22, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants