我正在嘗試使用IntelliJ爲ViewPagerIndicator構建樣本。使用IntelliJ爲ViewPagerIndicator編譯樣本
當前的錯誤我得到是這樣的(我收到了一堆的那些):
[Sample] ~/projects/ViewPagerIndicator-2.4.1-0/sample/res/values/styles.xml:19: error: Error: No resource found that matches the given name: attr 'vpiCirclePageIndicatorStyle'.
我迄今所做的:
- 我使用現有的資源創建一個新項目對於樣本
- 然後我去了項目結構,從現有的來源爲ActionBarSherlock和ViewPagerIndicator瀏覽到「庫」文件夾添加新模塊
- 列表項
- 我做了ActionBarSherlock模塊爲ViewPagerIndicator 依賴
- 我做了兩個ActionBarSherlock模塊和ViewPagerIndicator一個是爲「樣本」的依賴模塊
所有這些都在使用Android 4.1平臺SDK。我沒有對源代碼進行任何更改。
編輯:按照要求,styles.xml和AndroidManifest.xml中的樣品被張貼在這裏:再次http://pastebin.com/YQxYy3md
,我沒有做任何修改,原來的源代碼是網站爲ViewPagerIndicator
上訪問
post styles.xml和AndroidManifest.xml –
@SardorDushamov一個來自樣本? – Matthieu
在你的'vpi_attrs.xml'文件中是否有' '? –