I need to use ActionBarSherlock
and SwipeListView
in my project. I added following dependencies to build.gradle file:
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
compile('com.fortysevendeg.swipelistview:swipelistview:1.0-SNAPSHOT@aar') {
transitive = true
}
I get following error: Attribute xxx has already been defined
. I suppose that problem is because SwipeListView
uses appcompat-v7 as a dependency and ActionBarSherlock
and v7 are not compatible as you can see here.
What's the proper way to use both ActionBarSherlock
and SwipeListView
in my project using gradle?