android studio 无法在可视化页面预览布局文件
2015-10-24 10:24 子申台 阅读(4572) 评论(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>