java.lang.IncompatibleClassChangeError: org.lucasr.twowayview.ClickItemTouchListener$ItemClickGestureDetector
MustafaAdil opened this issue · 2 comments
I'm facing this problem:
java.lang.IncompatibleClassChangeError: org.lucasr.twowayview.ClickItemTouchListener$ItemClickGestureDetector
How to solve it?
#266 has answer.
compile 'com.android.support:support-v4:23.1.1'
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:recyclerview-v7:23.1.0'
compile ('com.github.lsjwzh.RecyclerViewPager:lib:v1.1.0'){
// Avoid pulling to latest 23.2.0
// https://code.google.com/p/android/issues/detail?id=72430
exclude group: 'com.android.support', module:'support-v4'
exclude group: 'com.android.support', module:'recyclerview-v7'
}
Some library will include the new support library. Found them, and you will see the external library list has a 23.1.0 support library.
Hi i face the same problem too, just use this class to solve the issue https://gist.github.com/nesquena/231e356f372f214c4fe6