我是android dev的新手,现在使用Eclipse。我正在尝试使用Cardslib库,但即使按照上述步骤操作,我也无法成功构建库。
具体在以下步骤之后: - 将java(*)文件夹标记为源(单击文件夹 - > Build-Path - >用作源文件夹)。您也可以从项目中删除src文件夹。
我在java文件夹中收到错误,例如:
[2015-09-08 09:53:57 - cardslib] /Users/shrtrive/Documents/cardslib/cardslib-master/library-cards/src/cardslib/res/values/styles.xml:34: error: Error retrieving parent for item: No resource found that matches the given name 'card.native.content_outer_layout'.
[2015-09-08 09:53:57 - cardslib]
[2015-09-08 09:53:57 - cardslib] /Users/shrtrive/Documents/cardslib/cardslib-master/library-cards/src/cardslib/res/values/styles.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'card.native'.
[2015-09-08 09:53:57 - cardslib]
[2015-09-08 09:53:57 - cardslib] /Users/shrtrive/Documents/cardslib/cardslib-master/library-cards/src/cardslib/res/values/styles.xml:55: error: Error retrieving parent for item: No resource found that matches the given name 'card.native'.
[2015-09-08 09:53:57 - cardslib]
[2015-09-08 09:53:57 - cardslib] /Users/shrtrive/Documents/cardslib/cardslib-master/library-cards/src/cardslib/res/values/styles.xml:64: error: Error retrieving parent for item: No resource found that matches the given name 'card.native'.
[2015-09-08 09:53:57 - cardslib]
根据清单,minSdkversion为14,目标为21。