Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

java.lang.IncompatibleClassChangeError: org.lucasr.twowayview.ClickItemTouchListener$ItemClickGestureDetector #271

Open
MustafaAdil opened this issue May 16, 2016 · 2 comments

Comments

@MustafaAdil
Copy link

I'm facing this problem:

java.lang.IncompatibleClassChangeError: org.lucasr.twowayview.ClickItemTouchListener$ItemClickGestureDetector

How to solve it?

@kenneth2008
Copy link

#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.

@seerazz
Copy link

seerazz commented Aug 11, 2016

Hi i face the same problem too, just use this class to solve the issue https://gist.github.com/nesquena/231e356f372f214c4fe6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants