为了账号安全,请及时绑定邮箱和手机立即绑定

正在回答

2 回答

layout预览界面(Graphic Layout),右上角有个Theme的选择项,默认为notitle,根据喜好随意设定值,我们这里设定为android以前默认的Theme.black.或可选:Theme.Light.NotitleBar

http://img1.sycdn.imooc.com//5683406500011d3008230480.jpg

详情请看:出处

1 回复 有任何疑惑可以回复我~
#1

选择坚持风雨无阻 提问者

还是没有解决,我的问题出现在创建完新项目的时候。 不是在调整页面的时候 ,老是报以下错误,导致无法静态显示ui效果。
2015-12-30 回复 有任何疑惑可以回复我~
#2

Taro_Sun 回复 选择坚持风雨无阻 提问者

http://www.bkjia.com/Androidjc/963526.html
2015-12-30 回复 有任何疑惑可以回复我~
#3

选择坚持风雨无阻 提问者 回复 Taro_Sun

按照您给的链接,发现了问题。这个链接讲的很清楚http://jingyan.baidu.com/article/3ea51489e04eb852e61bbaa4.html
2015-12-30 回复 有任何疑惑可以回复我~
#4

选择坚持风雨无阻 提问者 回复 Taro_Sun

http://jingyan.baidu.com/article/2f9b480dbe6eff41cb6cc2e9.html
2015-12-30 回复 有任何疑惑可以回复我~
#5

选择坚持风雨无阻 提问者

非常感谢!
2015-12-30 回复 有任何疑惑可以回复我~
#6

Taro_Sun 回复 选择坚持风雨无阻 提问者

现在不都用as了吗,谷歌对adt不支持更新了
2015-12-30 回复 有任何疑惑可以回复我~
查看3条回复

我的问题出现在创建新项目的时候,

Missing styles. Is the correct theme chosen for this layout?

Use the Theme combo box above the layout to choose a different layout, or fix the theme style references. NOTE: This project contains resource errors, so aapt did not succeed, which can cause rendering failures. Fix resource problems first.

这是报错内容:error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Android攻城狮的第一门课(入门篇)
  • 参与学习       312506    人
  • 解答问题       4931    个

想快速掌握Android应用开发基础,选择学习这门课程就对了。

进入课程

Missing styles. Is the correct theme chosen for this layout?

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号