gundumw100 2015-08-11 05:00 采纳率: 0%
浏览 2774

eclipse为什么导入android design工程包总是提示错误?

我想在其他工程中引用design工程
可老是提示XX属性找不到,莫非还要其他依赖包???

E:\adt-bundle-windows-x86\sdk\extras\android\support\design\res\values\styles.xml:21: error: Error: No resource found that matches the given name: attr 'backgroundTint'.
E:\adt-bundle-windows-x86\sdk\extras\android\support\design\res\values\styles.xml:23: error: Error: No resource found that matches the given name: attr 'elevation'.
...........
E:\adt-bundle-windows-x86\sdk\extras\android\support\design\res\values\styles.xml:80: error: Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Button'.
............
是何缘故?

  • 写回答

3条回答 默认 最新

  • luoyang_home 2015-08-11 05:46
    关注

    看是不是引用了appcompat_v7,如果有就去掉

    评论

报告相同问题?