Missing styles. Is the correct theme chosen for this layout?
这个错误什么原因?
这个错误什么原因?
2015-12-30
layout预览界面(Graphic Layout),右上角有个Theme的选择项,默认为notitle,根据喜好随意设定值,我们这里设定为android以前默认的Theme.black.或可选:Theme.Light.NotitleBar
详情请看:出处
我的问题出现在创建新项目的时候,
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'.
举报