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

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

时间:2015-10-24 11:30:26      阅读:152      评论: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>

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

标签:

原文地址:http://www.cnblogs.com/zishentai-1/p/4906312.html

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