网上已经有解决办法了,这里我只是把它用图文的方式写一下。
请参考 http://blog.youkuaiyun.com/romaticxiaoyu/article/details/7241512
据说这几个错误都可以
Failed to find style 'textViewStyle' in current theme
Failed to find style 'editTextStyle' in current theme
Failed to find style 'buttonStyle' in current theme
现象:
[img]http://dl2.iteye.com/upload/attachment/0100/9268/65cc59a3-d64e-3658-8743-1f7f24d12ea8.png[/img]
图文解决办法:
layout预览界面(Graphic Layout),右上角有个Theme的选择项,默认为notitle,根据喜好随意设定值,我们这里设定为android以前默认的Theme.black.
第一步
[img]http://dl2.iteye.com/upload/attachment/0100/9270/3e074999-a53d-3361-b559-1882425a482e.jpg[/img]
第二步
[img]http://dl2.iteye.com/upload/attachment/0100/9272/6e6cfe7c-5ef8-3d89-9cbe-30daac060564.jpg[/img]
成功了
[img]http://dl2.iteye.com/upload/attachment/0100/9274/6c59025b-7be5-33d0-bd68-32a917a66b83.png[/img]
请参考 http://blog.youkuaiyun.com/romaticxiaoyu/article/details/7241512
据说这几个错误都可以
Failed to find style 'textViewStyle' in current theme
Failed to find style 'editTextStyle' in current theme
Failed to find style 'buttonStyle' in current theme
现象:
[img]http://dl2.iteye.com/upload/attachment/0100/9268/65cc59a3-d64e-3658-8743-1f7f24d12ea8.png[/img]
图文解决办法:
layout预览界面(Graphic Layout),右上角有个Theme的选择项,默认为notitle,根据喜好随意设定值,我们这里设定为android以前默认的Theme.black.
第一步
[img]http://dl2.iteye.com/upload/attachment/0100/9270/3e074999-a53d-3361-b559-1882425a482e.jpg[/img]
第二步
[img]http://dl2.iteye.com/upload/attachment/0100/9272/6e6cfe7c-5ef8-3d89-9cbe-30daac060564.jpg[/img]
成功了
[img]http://dl2.iteye.com/upload/attachment/0100/9274/6c59025b-7be5-33d0-bd68-32a917a66b83.png[/img]