android - ActionBarSherlock dependency issue after updating support libraries -
i updated support libraries through android sdk manager, , there conflict between assume actionbarsherlock , support library. see below snippet of error.this in android studio 1.2.2
c:\android\games\copy of myproject1\myproject\build\intermediates\exploded-aar\com.google.android.gms\play-services-wallet\7.5.0\res\values\wallet_colors.xml error:(1) attribute "titletextstyle" has been defined error:(1) attribute "subtitletextstyle" has been defined error:(1) attribute "divider" has been defined error:(1) attribute "background" has been defined error:(1) attribute "backgroundsplit" has been defined error:(1) attribute "navigationmode" has been defined error:(1) attribute "displayoptions" has been defined error:(1) attribute "title" has been defined error:(1) attribute "subtitle" has been defined error:(1) attribute "icon" has been defined error:(1) attribute "logo" has been defined error:(1) attribute "backgroundstacked" has been defined
my gradle file:
apply plugin: 'com.android.application' android { compilesdkversion 'google inc.:google apis:17' buildtoolsversion "21.1.2" defaultconfig { applicationid "com.mdflip.areyoudrunk" minsdkversion 9 targetsdkversion 17 } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt' } } } dependencies { compile project(':chartviewlib') compile 'com.google.android.gms:play-services:+' compile 'com.android.support:support-v4:22.0.0' compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar' compile('com.google.api-client:google-api-client-xml:1.17.0-rc') { exclude group: 'com.google.android.google-play-services' } }
i have tried removing support library dependency, did not clear issue.
afaik, latest version of google play services come appcompact-v7
. means won't able use both play services (latest version) , actionbarsherlock
in same time. i'd suggest migrate appcompact
abs
or not use latest version of play services
Comments
Post a Comment