将v7 android支持库添加到现有项目中

时间:2014-03-18 05:17:56

标签: android eclipse android-support-library android-appcompat

当我将appcompact v7库添加到exising项目时,xml文件中出现错误 "错误:属性" buttonBarStyle"已被定义"。 See Screenshot

  

enter image description here

我下载了项目示例表单http://developer.oovoo.com/

1 个答案:

答案 0 :(得分:0)

听起来您的样式是在项目RES文件夹中定义的。该样式也在v7支持库中定义,因此现在定义了两次。将它从RES xml中删除。

请参阅此回答并发布:Build errors after adding fullscreen activity in Android Studio

相关问题