17
좋아 작업 표시 줄 셜록에 대한 종속성을 추가 한 후, 나는 또한 SO에 게시 여러 가지 방법을 시도 ..이 질문은 많은 요청을받은 알아야합니다. 그러나 아무 것도 나를 위해 일하는 것 같습니다.오류 안드로이드 스튜디오에서 0.5.8
그래서 내가 어떻게하는지. 내 Gradle을 파일에 종속 내부 코드 줄을 추가
compile 'com.actionbarsherlock:actionbarsherlock:[email protected]'
하지만 난 Gradle을 내 프로젝트를 동기화 할 때, 그것은 나에게 이러한 오류 제공 :
Gradle invocation completed successfully with 75 error(s) in 30 sec
이러한 오류됩니다 :
D:\RandomProjects\SwipeExperiment\SwipeExperiment\build\exploded-aar\com.android.support\appcompat-v7\19.1.0\res\values\values.xml
Error:Attribute "titleTextStyle" has already been defined
Error:Attribute "subtitleTextStyle" has already been defined
Error:Attribute "divider" has already been defined
Error:Attribute "background" has already been defined
Error:Attribute "backgroundSplit" has already been defined
Error:Attribute "actionDropDownStyle" has already been defined
Error:Attribute "dropdownListPreferredItemHeight" has already been defined
Error:Attribute "popupMenuStyle" has already been defined
D:\RandomProjects\SwipeExperiment\SwipeExperiment\build\exploded-aar\com.actionbarsherlock\actionbarsherlock\4.4.0\res\values\values.xml
Error:Attribute "navigationMode" has already been defined
Error:Attribute "displayOptions" has already been defined
Error:Attribute "title" has already been defined
Error:Attribute "subtitle" has already been defined
Error:Attribute "icon" has already been defined
Error:Attribute "logo" has already been defined
Error:Attribute "backgroundStacked" has already been defined
.
.
.
Error:Attribute "windowActionBarOverlay" has already been defined
Error:Attribute "windowSplitActionBar" has already been defined
Error:Attribute "listPopupWindowStyle" has already been defined
Error:Attribute "activityChooserViewStyle" has already been defined
아
Support library features. AppCompat
, 내가 볼 ... 난 이제 생각이있어. Eclipse 프로젝트에 appcompat-v7 라이브러리를 포함시키지 않았으므로 기본적으로 ABS와 동일한 작업을 수행합니다. 그것에 대해 자세히 알아야합니다. – Milanor작업 표시 줄을 사용하여 환경 설정 작업을 처리 할 때 ABS를 대신 사용하는 것이 좋습니다. – vault