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

时间:2015-05-26 09:19:38   收藏:0   阅读:296

更新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了~

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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!