Problem
Since I switched to Java 8 in Android Studio 3.0 , the ShineButton library no longer works in my project.
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/animation/Animator$AnimatorListener$$CC;
I get this error when used ShineButtonin my application in this part of the library for sure. Since this error occurred with my upgrade to Java 8, and I read about some similar error with Java 8, I am pretty sure that this is the factor that causes the problem.
purpose
I would like to have a solution that allows the library to work with Java 8 , because I like both the library and the functions that Java 8 provides. I'm not quite sure how to solve this problem, because I could not find any information about NoClassDefFoundErrorand about how closely it relates to Java 8.
Additional Information
I create my project in Android Studio 3.0 Canary 4 in Android O and I use the version 0.1.7of ShineButton.
Error while clicking ShineButtonwhile performing animation.
I already posted this on GitHub , but I did not see an answer to my own and even older issues. Recently, I also started releasing to the Android development team .