我想在其他工程中引用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'.
............
是何缘故?
看是不是引用了appcompat_v7,如果有就去掉
没有引用appcompat_v7 ,我的eclipse里就导入了一个design工程
你导入的工程是在appcompat_v7下新建的,而你现在的eclipse没有appcompat_v7,所以提示有些style找不到。你重新设置一下Properties