I downloaded yesterday Android Studio 2.1.3 (before I worked with 1.5) and now I have this exception:
java.lang.NoSuchMethodError: No static method setOnApplyWindowInsetsListener(Landroid/view/View;Landroid/support/v4/view/OnApplyWindowInsetsListener;)V in class Landroid/support/v4/view/ViewCompatLollipop; or its super classes (declaration of 'android.support.v4.view.ViewCompatLollipop'
that stops my app on setContentView in the MainActivity. How can I solve this?
here is the issue :
i also faced this this issue once, and i found that i was using invalid dependency in my gradle :
use this version of design or some other library, it solved my problem.
Thanks