首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Buck和Android材料主题

Buck和Android材料主题
EN

Stack Overflow用户
提问于 2015-03-19 22:30:44
回答 1查看 420关注 0票数 3

我正在设置Buck,以加速Android应用程序的构建。应用程序通过appcompat-v7:21.0.+库使用材料主题,但Buck找不到所需的资源。有什么提示吗?

以下是错误输出:

代码语言:javascript
复制
$ buck build //app/src/main:main                                             
Using buckd.
[-] PROCESSING BUCK FILES...FINISHED 0.4s
[+] BUILDING...2.0s (3/6 JOBS)
 |=> IDLE
 |=> IDLE
 |=> IDLE
 |=> //app/src/main:main#aapt_package...  1.5s (running aapt_package[1.5s])
Log:
No Android platform target specified. Using default: Google Inc.:Google APIs:21
app/src/main/res/values/styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

app/src/main/res/values/styles.xml:14: error: Error: No resource found that matches the given name: attr 'actionBarSize'.

app/src/main/res/values-v21/styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

app/src/main/res/values/styles.xml:23: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

app/src/main/res/values/styles.xml:33: error: Error: No resource found that matches the given name: attr 'actionBarSize'.

app/src/main/res/values/styles.xml:29: error: Error: No resource found that matches the given name: attr 'colorPrimary'.

app/src/main/res/values/styles.xml:38: error: Error: No resource found that matches the given name: attr 'editTextColor'.

app/src/main/res/values-v21/styles.xml:14: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

app/src/main/res/values-v21/styles.xml:32: error: Error: No resource found that matches the given name: attr 'colorPrimary'.

BUILD FAILED: //app/src/main:main#aapt_package failed with exit code 1:
aapt_package
EN

回答 1

Stack Overflow用户

发布于 2015-09-18 12:56:24

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29147277

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档