首页 > 移动平台 > 详细

android.support.v7.internal.widget.ActionBarOverlayLayout could not be instantiated

时间:2015-05-26 09:19:38      阅读:296      评论:0      收藏:0      [点我收藏+]

更新studio之后遇到这个问题,这个问题的原因是studio的values目录下的style.xml错误造成的。

错误的style.xml文件如下:

   

<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
    </style>
    
</resources>
正确的style.xml文件如下:
<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
    </style>
    
</resources>
改完之后就ok了~

android.support.v7.internal.widget.ActionBarOverlayLayout could not be instantiated

原文:http://blog.csdn.net/nijian81/article/details/45980593

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!