码迷,mamicode.com
首页 > 移动开发 > 详细

android studio 无法在可视化页面预览布局文件

时间:2015-10-27 11:48:14      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:

Rendering Problems

 

the following classes could not be found:

android.support.v7.internal.widget.ActionBarOverlayLayout (Fix Build Path, Edit XML, Create Class) 

Tip: Try to build the project

 

解决办法:

style文件中theme改一下

 

Theme.AppCompat.Light.DarkActionBar前面加上Base.  如下

 

<!-- Base application theme. -->

<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">

   <!-- Customize your theme here. -->

</style>

 

当然,开发完APP也是需要进行全方位的检测:www.ineice.com


android studio 无法在可视化页面预览布局文件

标签:

原文地址:http://my.oschina.net/u/2455226/blog/522448

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!