`
天涯瓜子
  • 浏览: 6425 次
文章分类
社区版块
存档分类
最新评论

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

 
阅读更多
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也是需要进行全方位的检测:http://www.ineice.com
0
1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics