-
Notifications
You must be signed in to change notification settings - Fork 1k
Support Library 23.2.0, java.lang.IncompatibleClassChangeError: org.lucasr.twowayview.ClickItemTouchListener$ItemClickGestureDetector #266
Comments
Same thing here. |
I cannot find the solution of that problem, please help |
Same thing here. |
me too~ |
is there any solution about that? |
Same issue but I am not using Support Library 23.2.0 even then I am getting those errors |
Also getting this issue - is there a work-around? Thanks! |
@rajeevjaiswal for my case, facebook SDK 'secretly' pulled the version to 23.2.0 even though I have the line:
I need to explicitly exclude the dependency like this to get back 23.1.1:
To make sure your dependencies are not force upgraded, run the following command in the terminal And look for 23.2.0 |
Thanks I will look into it
|
@lemoncola I modified the code but still it is crashing |
@lemoncola thanks a lot, you save my day |
@lemoncola still with problem =/ |
@Spotik hi, I found many other 3rd party and some offical libraries still demand to use 23.2 support library, did you check that with ./gradlew app:dependencies command? |
@ekinguvencoglu which folder should I run the command? |
@Spotik it can be run in terminal window at Android Studio |
@ekinguvencoglu i got the msg: "is not recognized as an internal or external command operable program or batch file" On android studio terminal, the patch is "C:\Users\myuser\Projetos Android\my-project>" |
@Spotik do you set the gradle path to your os? |
@ekinguvencoglu hmmm i dont think so... how I do that? |
Thanks @ekinguvencoglu for helping~
|
@lemoncola it's also very helpful explanation for me, thanks |
same error but ii will try above solution still wanted to ask is there any other solution we can use with latest version of support library with this library.Is it possible without changing to compile 'com.android.support:support-v4:23.1.1' |
I'm also facing this issue... whats the proper solution to this? |
I will have to remove this library, because the auther doesnt upgrade it anymore. |
what about adding a click listener to a cell view inside adapter?
and then
|
Hi i face the same problem too, just use this class to solve the issue https://gist.github.com/nesquena/231e356f372f214c4fe6 |
I fixed this issue by adding a separate on item click listener to it like,
`
}` |
mGestureDetector = new ItemClickGestureDetector(hostView.getContext(), I solved the problem by change the ItemClickGestureDetector to GestureDetectorCompat mGestureDetector = new GestureDetectorCompat(hostView.getContext(), |
After upgrading support library to 23.2 this issue occured:
java.lang.IncompatibleClassChangeError: org.lucasr.twowayview.ClickItemTouchListener$ItemClickGestureDetector
at org.lucasr.twowayview.ClickItemTouchListener.(ClickItemTouchListener.java:19)
at org.lucasr.twowayview.ItemClickSupport$TouchListener.(ItemClickSupport.java:115)
at org.lucasr.twowayview.ItemClickSupport.(ItemClickSupport.java:54)
at org.lucasr.twowayview.ItemClickSupport.addTo(ItemClickSupport.java:85)
The text was updated successfully, but these errors were encountered: