Question

I have implemented sliding menu with action bar using "ActionBar Sherlock and Sliding menu" libraries.Now i tried to use staggeredGridView. But i am getting error as "JAR MISMATCH present in StaggeredGridView-Android Support v4 library"

How can i use staggeredGridView along with actionBar sherlock?

Was it helpful?

Solution

Both ABS and StaggeredGridView come with the compatibility library, but probably with different versions of the JAR. You should replace one of the compatibility JAR's with the other, the Android SDK will ignore duplicate JAR's as long as they are exact matches.

As to which JAR you should copy, always copy the newest version (probably ABS version), alternatively you can grab the latest version from the SDK and overwrite them both.

Hope this helps..

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top