No static method setOnApplyWindowInsetsListener exception in Android

后端 未结 7 1560
借酒劲吻你
借酒劲吻你 2020-12-07 01:01

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 setOnAppl         


        
7条回答
  •  北海茫月
    2020-12-07 01:47

    It's should be the same problem as java.lang.NoSuchMethodError: No static method setOnApplyWindowInsetsListener

    Try to only use the 24.2.0 version for all the "com.android.support:xxx:..." in your gradle file.

    BTW, now, support v4 is split (https://developer.android.com/topic/libraries/support-library/revisions.html#24-2-0-v4-refactor). Try to use only what you need ;)

提交回复
热议问题