NoClassDefFoundError android/support/v4/animation/AnimatorCompatHelper
Solved by following the answer from this question: Android Support Repo 46.0.0 with Android Studio 2.3
Solution:
Added this script in build.gradle file at the end of app.module
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '24.1.0'
}
}
}
}
Hope this will help other people.