将Eclipse项目导入Android Studio后出现未知错误

时间:2015-08-06 16:58:19

标签: java eclipse android-studio

在Android工作室中导入一个旧项目并构建它之后,它会抛出一堆错误。我找不到解决方案。我认为资源文件有问题,但我不知道如何修复它们。

这是第一个错误:

Error:(1) Attribute "actionOverflowButtonStyle" has already been defined
Error:(1) Attribute "actionBarStyle" has already been defined
Error:(1) Attribute "actionBarSplitStyle" has already been defined
Error:(1) Attribute "actionBarWidgetTheme" has already been defined
Error:(1) Attribute "actionBarSize" has already been defined
Error:(1) Attribute "actionBarDivider" has already been defined
Error:(1) Attribute "actionBarItemBackground" has already been defined
Error:(1) Attribute "actionMenuTextAppearance" has already been defined
Error:(1) Attribute "actionMenuTextColor" has already been defined
Error:(1) Attribute "actionModeStyle" has already been defined
Error:(1) Attribute "actionModeCloseButtonStyle" has already been defined
Error:(1) Attribute "actionModeBackground" has already been defined
Error:(1) Attribute "actionModeSplitBackground" has already been defined
Error:(1) Attribute "actionModeCloseDrawable" has already been defined
Error:(1) Attribute "actionModeShareDrawable" has already been defined
Error:(1) Attribute "actionModePopupWindowStyle" has already been defined
Error:(1) Attribute "textAppearanceLargePopupMenu" has already been defined
Error:(1) Attribute "textAppearanceSmallPopupMenu" has already been defined
Error:(1) Attribute "actionDropDownStyle" has already been defined
Error:(1) Attribute "dropdownListPreferredItemHeight" has already been defined
Error:(1) Attribute "spinnerDropDownItemStyle" has already been defined
Error:(1) Attribute "homeAsUpIndicator" has already been defined
Error:(1) Attribute "actionButtonStyle" has already been defined
Error:(1) Attribute "selectableItemBackground" has already been defined
Error:(1) Attribute "dividerVertical" has already been defined
Error:(1) Attribute "activityChooserViewStyle" has already been defined
Error:(1) Attribute "popupMenuStyle" has already been defined
Error:(1) Attribute "textAppearanceSearchResultTitle" has already been defined
Error:(1) Attribute "textAppearanceSearchResultSubtitle" has already been defined
Error:(1) Attribute "textColorSearchUrl" has already been defined
Error:(1) Attribute "listPreferredItemHeightSmall" has already been defined
Error:(1) Attribute "listPreferredItemPaddingLeft" has already been defined
Error:(1) Attribute "listPreferredItemPaddingRight" has already been defined
Error:(1) Attribute "dropDownListViewStyle" has already been defined
Error:(1) Attribute "listPopupWindowStyle" has already been defined
Error:(1) Attribute "textAppearanceListItemSmall" has already been defined

Error:Execution failed for task ':app:processDebugResources'.
  

com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:处理'命令'C:\ Users \ User \ AppData \ Local \ Android \ sdk \ build-tools \ 22.0。 1 \ aapt.exe''以非零退出值1结束

所以我们很清楚,该项目在Eclipse中运行良好,但在将其导入Android工作室后,就会发生这种情况。

0 个答案:

没有答案