android - conflicting appcompat-v7 with other dependencies -
i read error after adding dependencies action bar sherlock in android studio 0.5.8 didn't me.
i found several android custom dialog library in github. gradle gives me theis error when include each 1 in dependencies :
warning:string 'abs__activity_chooser_view_dialog_title_default' has no default translation. warning:string 'abs__share_action_provider_share_with' has no default translation. f:\work\workspace\nitask\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\values\values.xml error:attribute "titletextstyle" has been defined error:attribute "subtitletextstyle" has been defined error:attribute "divider" has been defined error:attribute "background" has been defined error:attribute "backgroundsplit" has been defined error:attribute "navigationmode" has been defined error:attribute "displayoptions" has been defined error:attribute "title" has been defined error:attribute "subtitle" has been defined error:attribute "icon" has been defined . . . . error:attribute "dropdownlistviewstyle" has been defined error:attribute "listpopupwindowstyle" has been defined error:attribute "textappearancelistitemsmall" has been defined error:execution failed task ':app:processdebugresources'.
i try 4 library gives me same errors.
put android {
section of build.gradle:
dexoptions { predexlibraries = true }
if not work try remove libraries declared in subprojects. example if subproject has "appcompat" dependency , have 1 declared in main project - remove "appcompat" dependency in main project.
Comments
Post a Comment